PostgreSQL's Distributed Evolution What changed & what stayed the same in the Cloud
summary
Aurora DSQL reimplements Postgres pieces for cloud scale: it uses hybrid logical clocks (timestamp start and commit times) instead of 32-bit XIDs, runs each transaction in isolated Firecracker Postgres instances, and defers coordination to commit via adjudicators + a distributed journal so reads scale independently from writes. It offers one strong snapshot isolation level (repeatable read equivalent), probabilistic auto-analyze (full stats when >10% changed, otherwise probabilistic sampling), push-down compute to primary-key‑partitioned storage, non-blocking async DDL, and multi‑region active‑active with zero data loss.
AI-written summary · about
chapters (11)
- 0:00Introduction and motivation
- 4:01Why build distributed Postgres
- 7:52Postgres design challenges
- 10:04Snapshot visibility in distributed systems
- 14:00Transaction coordination approaches
- 21:24Distributed catalog management
- 26:40Statistics and query planning
- 30:10Storage model and explain plans
- 32:01Multi-region writes and replication
- 34:05Gains and future work
- 35:51Q&A session
