Scaling PostgreSQL to power 800 million ChatGPT users | OpenAI
For years, PostgreSQL has been one of the most critical, under-the-hood data systems powering core products like ChatGPT and OpenAI’s API. As our user base grows rapidly, the demands on our databases have increased exponentially, too. Over the past year, our PostgreSQL load has grown by more than 10x, and it continues to rise quickly. Our efforts to advance our production infrastructure to sustain this growth revealed a new insight: PostgreSQL can be scaled to reliably support much larger read-heavy workloads than many previously thought possible. The system (initially created by a team of scientists at University of California, Berkeley) has enabled us to support massive global traffic with a single primary Azure PostgreSQL flexible server instance (opens in a new window) and nearly 50 read replicas spread over multiple regions globally. This is the story of how we’ve scaled PostgreSQL at OpenAI to support millions of queries per second for 800 million users through rigorous optimiz
January 22, 2026 Engineering Scaling PostgreSQL to power 800 million ChatGPT users By Bohan Zhang, Member of the Technical Staff Loading… For years, PostgreSQL has been one of the most critical, under-the-hood data systems powering core products like ChatGPT and OpenAI’s API. As our user base grows rapidly, the demands on our databases have increased exponentially, too. Over the past year, our PostgreSQL load has grown by more than 10x, and it continues to rise quickly. Our efforts to advance our production infrastructure to sustain this growth revealed a new insight: PostgreSQL can be scaled
Explore this link on the map →saved by
related reading
- An Overview of Distributed PostgreSQL... | Crunchy Data Blogcrunchydata.com
- Schedule | POSETTE: An Event for Postgres 2024 - Citus Datacitusdata.com
- Benchmarking How Workflow Execution Scales on Postgres | DBOSdbos.dev
- Nine ways to shoot yourself in the foot with PostgreSQLphilbooth.me
- Just Use Postgres for Everything | Amazing CTOamazingcto.com
- Multi-Datacenter Training: OpenAI's Ambitious Plan To Beat Google's Infrastructuresemianalysis.com
- Making 768 servers look like 1 — PlanetScaleplanetscale.com
- Two Sizes Fit Most: PostgreSQL and ClickHouse - The New Stackthenewstack.io
- The real serverless compute to database connection problem, solved - Vercelvercel.com
- The only scalable delete in Postgres is DROP TABLE — PlanetScaleplanetscale.com
- Making Postgres 42,000x slower because I am unemployedbyteofdev.com
- Herding elephants: Lessons learned from sharding Postgres at Notionnotion.so