PostgreSQL Connection Pooling: Session vs Transaction Mode, PgBouncer, and How to Size It
Every PostgreSQL backend process is a full Unix process with its own megabytes of memory. That design choice buys you
Every PostgreSQL backend process is a full Unix process with its own megabytes of memory. That design choice buys you
Every UPDATE in PostgreSQL is secretly an INSERT-plus-a-tombstone. The old row version stays on disk, fully readable to any transaction
Continue readingMVCC and VACUUM in PostgreSQL: Dead Tuples, Autovacuum Tuning, and What PG18 Changed
Every API that returns a list eventually has to answer the same question: how do you hand out a million
Every slow query investigation eventually reaches the same moment: you run EXPLAIN ANALYZE, and the plan makes no sense. Postgres
Continue readingReading EXPLAIN ANALYZE: Why Postgres Ignores Your Index
Every schema migration tool will happily tell you how to change a table. Almost none of them will tell you
Continue readingZero-Downtime Database Migrations: Expand-Contract, Backfills, and Locks
Every PostgreSQL connection is a process on the server. Not a thread, not an entry in a table — a
Continue readingDatabase Connection Pooling: PgBouncer, Pool Sizing, and the Math Behind Both
In 2022, Intel quietly buried the fastest storage medium anyone had ever shipped. Optane, built on 3D XPoint memory, was
Continue readingOptane vs. Modern SSDs: Why the Fastest Drive Ever Made Is One Nobody Can Buy
Every data engineer eventually has the same moment: the dashboard query that was instant on a million rows takes ninety
Continue readingRow Stores vs Column Stores: Why Analytics and OLTP Are Opposites
PostgreSQL versus MySQL is one of the oldest rivalries in software, and like most old rivalries it is mostly narrated
Continue readingPostgreSQL vs MySQL in 2026: A Practitioner’s Comparison
Most applications don’t need a database server. They need durable, queryable state — and somewhere along the way the industry
Continue readingSQLite in Production: The Database You Already Ship