Database systems
0 of 17 steps read
Evolution
Foundations
Storage, indexes, query execution and optimization, concurrency control and recovery. In English.
CMU· 2025WebsiteHow real databases handle processes, memory and parallelism, which textbooks skip.
UC Berkeley· 2007Storage engines
RocksDB's priorities shifted from write amplification to space to CPU as its hardware and workloads changed.
Meta· 2021Postgres MVCC copies the whole row on each update, causing bloat and vacuum pain.
CMU· 2023Query optimization
SQL leaves the plan to the system, and this survey explains how optimizers search and cost plans, starting from System R.
Microsoft· 1998Cardinality estimates are often far off and matter more than the cost model, as the Join Order Benchmark shows.
TU Munich· 2015Transactions
The ANSI isolation levels are defined too vaguely, and the paper adds snapshot isolation, which still allows write skew.
Microsoft· 1995Snapshot isolation still allows write skew, so SSI detects dangerous patterns at runtime and aborts a transaction, as PostgreSQL does.
University of Sydney· 2008Evolution
Analytic queries read a few columns of many rows, so C-Store stores data by column and reads only what a query needs.
MIT· 2005Row-at-a-time execution wastes CPU on interpretation, so X100's vectorized operators process a batch of values per call.
2005Analysts needed fast analytics inside their own process, so DuckDB is embedded like SQLite but columnar and vectorized.
2019Many data models tried to replace SQL, and this retrospective shows how SQL and the relational model absorbed their best ideas.
MIT· 2024Operations
Altering a busy MySQL table can block writes, so online migration tools copy it to a shadow table in the background and swap it in.
PlanetScale· 2024Postgres uses one process per connection, so Figma built a pooler that sheds load.
Figma· 2026VIP and DNS based failover was slow and fragile, so GitHub uses orchestrator to promote a replica and Consul with GLB to route clients to it.
GitHub· 2018GitHub upgraded its whole MySQL fleet in stages, replicas first, while replicating back to the old version so it could roll back.
GitHub· 2023Notion's single Postgres was nearing its limits, so it split the data into logical shards by workspace and migrated with double writes.
Notion· 2021