Tag

Postgresql

All articles tagged with #postgresql

technology1 month ago

One Primary, Dozens of Replicas: OpenAI’s PostgreSQL scaling for 800M users

OpenAI reportedly scales PostgreSQL to serve hundreds of millions of users by using a single write master with many read replicas, while offloading some write-heavy workloads to Azure Cosmos DB to relieve the primary. The approach favors a simpler, single-primary architecture but carries trade-offs such as potential single-point-of-failure risk, MVCC write amplification, and challenges around schema changes and cross‑shard operations. Commenters debate replication lag, WAL shipping, cost of large cloud instances, and when to shard or migrate workloads to non‑Postgres systems. Overall, the piece argues that with the right hardware and careful design, PostgreSQL can scale far beyond what many assume, though it isn’t a universal recipe and comes with notable complexity.

"Revolutionizing Database Management: PostgreSQL's Bold New Direction"
technology2 years ago

"Revolutionizing Database Management: PostgreSQL's Bold New Direction"

PostgreSQL, an open-source relational database system, has evolved from a niche solution to a widely used platform for various applications and workloads. With the recent release of PostgreSQL 16, which includes logical replication from standby servers, developers can achieve better scalability. The meticulousness and collaborative efforts of the Postgres community contribute to the stability and reliability of the features. The implementation of Direct I/O, a long-term feature, is expected to improve performance in writing data to disk, although it will take years to fully implement. Amazon RDS for PostgreSQL offers managed operational tasks, making it easier for developers to focus on application development rather than deployment and monitoring.

Google Enhances Cloud SQL with Enterprise Plus for MySQL and PostgreSQL
technology2 years ago

Google Enhances Cloud SQL with Enterprise Plus for MySQL and PostgreSQL

Google Cloud has introduced the Cloud SQL Enterprise Plus edition for MySQL and PostgreSQL, offering performance optimizations for read and write operations, improved machine types and configurations, and an integrated SSD-backed data cache option. The new edition provides higher read throughput and improved write latency compared to the existing Cloud SQL, reduces downtime for maintenance operations, and offers 35 days of log retention for compliance requirements. The data cache is available only for the MySQL engine. Cloud SQL Enterprise Plus offers a 99.99% availability SLA inclusive of maintenance, with pricing varying according to the region.