ChatGPT Postgres

  • 800M users
  • 1 primary
  • ~50 read replicas
  • Millions of queries/s
  • Low double-digit ms p99
  • 99.999% available
  • 1 SEV-0 in 12 months

What’s on the floor · today

  • Read slip
  • Write slip
  • Holds the cache lease
  • Waiting
  • Failed
  • Retry

Based on “Scaling PostgreSQL to power 800 million ChatGPT users” by Bohan Zhang, OpenAI, 22 January 2026. The initial design is reconstructed from the post; latency, load, traffic and failover-time figures are illustrative. One tray stands for many queries.