~/talk

Distributed Postgres with Citus

Talkat HighLoad++ 2017 · 2017-11-07..11-08· [databases]
slides:none on file

Citus turns Postgres into a sharded, multi node database by adding a Citus extension to standard Postgres servers and a coordinator that rewrites queries into per shard SQL. It shards by a hash of the shard key, runs aggregates in parallel, and uses two‑phase commit for distributed transactions plus a cluster wide deadlock detector. Backup and recovery use WAL shipping with wal‑e / wal‑g and shards can be rebalanced to add capacity or enable masterless coordinators ; cloud failovers take about 30s–60s.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 0:37Why Postgres is popular
  3. 1:44Scaling challenges
  4. 3:01Citus architecture overview
  5. 5:01Citus internals and sharding
  6. 7:22Scaling SQL complexities
  7. 8:07Postgres replication methods
  8. 12:58Disaster recovery techniques
  9. 15:40Distributing PostgreSQL
  10. 18:04Distributed query planning
  11. 22:40Distributed transactions
  12. 24:59Concurrency and deadlocks
  13. 28:27Distributed deadlock detection
  14. 32:38Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.