Databases Runbooks
Database runbooks: PostgreSQL replication and autovacuum, MySQL deadlocks and slow queries, Redis connections and PgBouncer pooling.
8 articles

PostgreSQL Streaming Replication Setup Guide
A practical, step-by-step guide to configuring PostgreSQL streaming replication between a primary and hot standby server, covering everything from prerequisites to verification and common pitfalls.
Apr 21, 2026
Redis Connection Issues Troubleshooting
A practical engineering guide to diagnosing and resolving Redis connection failures, covering service outages, bind address misconfigurations, authentication errors, client limits, TLS setup problems, and firewall blocks with real CLI commands and output.
Apr 19, 2026
PostgreSQL Autovacuum Not Running
Step-by-step troubleshooting guide for PostgreSQL autovacuum not running, covering seven root causes from disabled configuration to worker count limits with real diagnostic SQL and fixes.
Apr 18, 2026
MySQL Deadlock Analysis
A hands-on guide to diagnosing and fixing MySQL deadlocks using real InnoDB output, covering circular lock dependencies, missing indexes, long-running transactions, explicit table locks, and autocommit pitfalls.
Apr 16, 2026
PostgreSQL Replication Lag High
Step-by-step runbook for diagnosing and fixing PostgreSQL streaming replication lag, covering network saturation, write load, underpowered replicas, WAL sender slots, and hot standby feedback bloat.
Apr 14, 2026
MySQL Slow Query Troubleshooting
A practical runbook for diagnosing and fixing MySQL slow queries, covering missing indexes, full table scans, temp tables on disk, lock wait timeouts, and more.
Apr 11, 2026
Database Connection Pooling PgBouncer Explained
PgBouncer is the lightweight PostgreSQL connection pooler that prevents your database from drowning in backend processes. This guide covers how it works, its three pooling modes, real...
Apr 8, 2026
PostgreSQL Replication Streaming vs Logical
PostgreSQL offers two fundamentally different replication models — streaming and logical — that solve different problems at different layers of the stack. This guide breaks down how each works,...
Apr 8, 2026