Database Field Notes

Notes for the problems that show up after launch: bad plans, awkward migrations, index debt, vacuum pressure, replica lag, and the small decisions that keep PostgreSQL, MySQL, MariaDB, and SQL Server easier to operate.

Featured Guides

Browse by Topic

Backups and Durability

Backups and Durability

9 articles

Backups, restores, PITR, archive gaps, and recovery drills for PostgreSQL.

Cloud Providers

Cloud Providers

5 articles

AWS RDS, Azure Database for PostgreSQL, Google Cloud SQL, AlloyDB, and managed PostgreSQL monitoring notes.

Connections and Pooling

Connections and Pooling

10 articles

Connection storms, pool saturation, PgBouncer behavior, and max_connections pressure.

CPU, Memory, and I/O

CPU, Memory, and I/O

17 articles

CPU, memory, disk, temp files, checkpoints, buffers, and workload pressure.

Indexes

Indexes

37 articles

Index design, index debt, reindexing, constraint indexes, and evidence-driven DDL.

Locks and Transactions

Locks and Transactions

22 articles

Lock waits, deadlocks, blocking chains, idle transactions, and transaction hygiene.

MariaDB

MariaDB

56 articles

Galera clustering, InnoDB and Aria internals, replication, optimizer behavior, and MariaDB operations notes.

MySQL

MySQL

107 articles

InnoDB internals, replication, locking, query performance, and MySQL operations notes.

pgvector and RAG

pgvector and RAG

15 articles

HNSW, IVFFlat, recall, embedding search, and production RAG performance notes.

Replication and WAL

Replication and WAL

28 articles

Replica lag, WAL growth, failover readiness, hot standby behavior, and replication slots.

Slow Queries

Slow Queries

38 articles

Query plans, EXPLAIN ANALYZE, planner regressions, pagination, joins, and statistics.

SQL Server

SQL Server

47 articles

Wait statistics, tempdb, Query Store, Always On availability groups, and SQL Server operations notes.

Vacuum and Bloat

Vacuum and Bloat

16 articles

Autovacuum, dead tuples, bloat, wraparound, MVCC, freeze age, and visibility.

Latest Field Notes