PostgreSQL Performance Tuning: Indexes, EXPLAIN, and PgBouncer
Measured PostgreSQL performance tuning on a 5M-row table: read EXPLAIN BUFFERS, add composite and partial indexes, fix OFFSET paging, and size PgBouncer.
3 articles tagged with #database
Measured PostgreSQL performance tuning on a 5M-row table: read EXPLAIN BUFFERS, add composite and partial indexes, fix OFFSET paging, and size PgBouncer.
Discover PostgreSQL's overlooked performance features that reduced our query times by 85% and saved $12k monthly in infrastructure costs. Real benchmarks, production patterns, and gotchas included.
Reproducible benchmarks of a PostgreSQL partial index, BRIN index, expression index and INCLUDE index on 3M rows, with sizes, plans and when each does nothing.