---
title: "Databases (hard)"
description: "Database usage, design or operation (general)"
url: "https://swe.quest/tags/databases?difficulty=hard&per=12"
---

# Databases (hard)

Topic in Data & databases: Database usage, design or operation (general)

By difficulty: [Easy](https://swe.quest/tags/databases.md?difficulty=easy) · [Medium](https://swe.quest/tags/databases.md?difficulty=medium) · [Hard](https://swe.quest/tags/databases.md?difficulty=hard)

Posts 1–12 of 17, page 1 of 2, newest first.

## 2026-10-19

- [Birth and death of a row in Turso's MVCC](https://swe.quest/articles/birth-and-death-of-a-row-in-turso-s-mvcc-f60b68028888940e.md): Turso · 2026-10-19 · Hard · 14 min read · Storage engines, SQLite, Consistency models, Databases
  Turso's MVCC, modeled on Hekaton, tracks each row as a chain of versions in a lock-free SkipMap, with begin/end fields holding a TxId while a transaction is active and a commit timestamp once it commits.

## 2026-10-13

- [Chasing that 32 ms tail latency in ClickHouse](https://swe.quest/articles/chasing-that-32-ms-tail-latency-in-clickhouse-e6423f2da8a7c8b8.md): ClickHouse · 2026-10-13 · Hard · 11 min read · Networking, Performance engineering, Linux, Databases, Debugging
  An extra full round trip (~32 ms) on simple SELECTs over ClickHouse's Native protocol came from TCP\_NODELAY turning each end-of-query metadata packet (Logs, Progress, ProfileEvents) into its own TCP segment.

## 2026-08-24

- [Native Async/Coroutine Reads in RocksDB](https://swe.quest/articles/native-async-coroutine-reads-in-rocksdb-a16f6ef8c30162a7.md): RocksDB Blog · 2026-08-24 · Hard · 10 min read · Storage engines, Concurrency, C & C++, Performance engineering, Databases
  RocksDB 11.10.0 adds experimental native asynchronous Get/MultiGet APIs (callback-based GetAsync/MultiGetAsync and Folly-task-based CoroDB::CoGet/CoMultiGet) that suspend a read at the SST block-miss filesystem boundary and resume it on the same io\_uring-backed EventBase thread, so a small read executor can sustain high storage queue depth without one parked thread per read.

## 2026-07-07

- [Intelligence is Free, Now What? Data Systems for, of, and by Agents](https://swe.quest/articles/intelligence-is-free-now-what-data-systems-for-of-and-by-agents-98e20761c37c0c4d.md): Berkeley AI Research · 2026-07-07 · Hard · 13 min read · Databases, AI agents, Query engines, Consistency models, Formal methods
  With inference costs falling roughly 50x per year, near-free intelligence creates three research directions for data systems.

## 2026-06-22

- [Range Tombstone Conversion: Faster Scans Over Long Runs of Deletes](https://swe.quest/articles/range-tombstone-conversion-faster-scans-over-long-runs-of-deletes-35ec1c2ca9bbc8b7.md): RocksDB Blog · 2026-06-22 · Hard · 8 min read · Storage engines, Performance engineering, Databases
  RocksDB 11.3.0 adds range tombstone conversion: when a read iterator walks a run of contiguous point tombstones with no live key between them, it inserts one redundant range tombstone \[first\_tombstone\_key, next\_live\_key) into the memtable at the iterator's snapshot sequence number.

## 2026-06-20

- [FIFO KV-Ratio Compaction for BlobDB-Backed TTL Workloads](https://swe.quest/articles/fifo-kv-ratio-compaction-for-blobdb-backed-ttl-workloads-d50be1cc261543b0.md): RocksDB Blog · 2026-06-20 · Hard · 6 min read · Storage engines, Databases, Performance engineering
  RocksDB 11.0 adds a KV-ratio intra-L0 compaction picker for FIFO compaction with integrated BlobDB.
- [Blob Direct Write With Partitioned Blob Files](https://swe.quest/articles/blob-direct-write-with-partitioned-blob-files-8acc320f71e2d848.md): RocksDB Blog · 2026-06-20 · Hard · 9 min read · Storage engines, Databases, C & C++
  RocksDB's Blob Direct Write writes values at or above min\_blob\_size straight to blob files during the write, so the WAL and memtable carry only a compact BlobIndex reference instead of the full value.

## 2026-05-04

- [Interpolation search for SST index blocks](https://swe.quest/articles/interpolation-search-for-sst-index-blocks-87e39fd0767b7895.md): RocksDB Blog · 2026-05-04 · Hard · 4 min read · Storage engines, Algorithms, Performance engineering, Databases
  RocksDB adds interpolation search for SST index blocks, which estimates the probe position from key values and needs an expected O(log log n) probes on uniformly distributed keys, versus Θ(log n) for binary search.

## 2026-04-03

- [AI for Systems: Using LLMs to Optimize Database Query Execution](https://swe.quest/articles/ai-for-systems-using-llms-to-optimize-database-query-execution-4407ac9f4162928a.md): Together AI · 2026-04-03 · Hard · 6 min read · Query engines, LLMs, Performance engineering, Databases
  LLMs can act as semantic cardinality estimators that fix join-order mistakes in database physical plans without modifying the engine.

## 2026-01-14

- [ClickHouse Release 25.12](https://swe.quest/articles/clickhouse-release-25-12-e571148b4347f1f0.md): ClickHouse · 2026-01-14 · Hard · 18 min read · Query engines, Analytics & OLAP, Performance engineering, Databases
  ClickHouse 25.12 ships 26 features, 31 performance optimizations and 129 bug fixes, led by three query-engine speedups.

## 2025-08-07

- [How we made ClickHouse UPDATEs 1,000× faster (Part 3: Benchmarks)](https://swe.quest/articles/how-we-made-clickhouse-updates-1-000-faster-part-3-benchmarks-0d540536665217da.md): ClickHouse · 2025-08-07 · Hard · 17 min read · Analytics & OLAP, Storage engines, Performance engineering, Databases
  ClickHouse's new standard SQL UPDATEs, implemented as lightweight patch parts, make changes visible up to ~1,000–1,700× faster than classic mutations on a 600M-row TPC-H lineitem table: one bulk update dropped from about 100 s to 60 ms. The benchmark compares classic mutations, on-the-fly mutations, lightweight updates and ReplacingMergeTree inserts for both bulk and single-row updates, measuring time to visibility and worst-case query slowdown before merges.

## 2025-08-04

- [Evolving our real-time timeseries storage again: Built in Rust for performance at scale](https://swe.quest/articles/evolving-our-real-time-timeseries-storage-again-built-in-rust-for-performance-cbd41a18b9630cd7.md): Datadog Engineering · 2025-08-04 · Hard · 21 min read · Storage engines, Rust, Performance engineering, Databases, Concurrency
  Datadog's sixth-generation real-time timeseries database (RTDB) is a Rust rewrite that unifies two earlier engines, one for scalar metrics and one for DDSketch distributions, after earlier generations built on Cassandra, Redis, MDBM, a Go B+ tree and RocksDB.

[Next page](https://swe.quest/tags/databases.md?difficulty=hard&per=12&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=databases](https://swe.quest/feed.xml?difficulty=hard&tag=databases). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
