~/talk

Scaling Postgres to the next level at OpenAI

Talkat PGConf.dev 2025 · 2025-05-13..05-16· [databases]
slides:none on file

Postgres runs as a single-primary, multi-replica fleet and handles millions of QPS by moving shardable writes off-platform, reducing writer count in application code, and using PgBouncer connection pooling to collapse thousands of client connections into a few backend sessions. Operational changes include hard rate limits, a 30s session/statement timeout, dedicated replicas for high‑priority reads, removing unused indexes to cut WAL amplification, and fixes for a WAL shipping CPU bug; gaps called out: percentile query histograms, schema-change events, index disabling, and adaptive knob tuning.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:25Scaling challenges
  3. 7:02Primary load mitigation
  4. 9:26Query and connection management
  5. 11:58System resilience strategies
  6. 16:05Proxy and availability
  7. 17:54Schema change management
  8. 20:28Operational results
  9. 22:28Case study on outages
  10. 33:28Replica lag and bug fixes
  11. 37:13Future feature requests
  12. 46:58Q&A session
~/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.