MVCC, vacuum, the planner, and the index types — what Postgres does underneath your queries.
Dead Tuples and the MVCC Tax — Every UPDATE writes a new row version and marks the old one dead: reads need no locks, but dead tuples bloat pages and slow scans until VACUUM reclaims them. (3 min read)
VACUUM and Autovacuum — VACUUM marks dead space reusable rather than rewriting the table; autovacuum is throttled on purpose, and one long-running transaction can stall it for the whole cluster. (3 min read)
Transaction ID Wraparound — Transaction IDs are a 32-bit circular counter: after about 2.1 billion transactions old rows would appear to be in the future, so Postgres freezes them, or stops accepting writes. (2 min read)
EXPLAIN vs. EXPLAIN ANALYZE: Reading the Planner — Cost units are not milliseconds. How to read estimated vs. actual rows, and how one bad row estimate sends the planner to the wrong join and scan. (3 min read)
MVCC and VACUUM: Synthesis and Self-Test — How MVCC, VACUUM, wraparound and the planner pay for each other's guarantees, then questions that each need two or more of those pages to answer. (7 min read)
PostgreSQL Index Types — B-tree, GIN, GiST, BRIN and partial indexes: the data shape each is built for, the 10–1,000× wins over a default B-tree, and how each can silently go unused. (5 min read)
Index Types: Synthesis and Self-Test — Five index types are not five independent choices: each gives up something a B-tree assumes for free. Then a self-test that mixes index choice with planner statistics. (7 min read)