PostgreSQL Performance: Measure First, Tune Second
Most Postgres performance problems are indexing problems. The rest are vacuum problems. Here's how to find and fix both.
Databases coverage in this archive spans 10 posts from Apr 2016 to Mar 2026 and centers on data correctness and operability under real production constraints. The strongest adjacent threads are postgresql, architecture, and engineering. Recurring title motifs include database, databases, migrations, and without.
Most Postgres performance problems are indexing problems. The rest are vacuum problems. Here's how to find and fix both.
Database migrations are the one place where a single ALTER TABLE can ruin your weekend. Here's how to do them safely with expand-and-contract, batched backfills, and compatible deploys.
Practical database reliability from running Postgres at the fintech startup and at large enterprises. Includes config examples, migration patterns, and the operational habits that actually prevent outages.
Serverless databases are solving problems most teams don't have. Here's why Postgres with a connection pooler is still the right answer.
A practical breakdown of replication modes, topologies, and the tradeoffs between consistency, availability, and not losing your users' data at 3am.
The repeatable process I use at the fintech startup to diagnose and fix database performance problems instead of throwing random indexes at the wall.
A production-grounded case for exhausting single-server headroom with pooling, replicas, and partitioning before taking on sharding complexity.
A practical guide to evolving schemas without maintenance windows by keeping old and new code compatible at every step.
A grounded look at PostgreSQL and MySQL as of April 2016, focusing on integrity, query power, and operational tradeoffs rather than benchmark hype.