Search across all documentation pages
Runbooks in-repo; post-mortem every sev-1. Use this list during incident reviews and when onboarding DBAs to on-call.
pg_wal_lsn_diff catches commit replay delays.Start with five: disk full, lock storm, replication lag, connection exhaustion, and failed migration.
Pair app on-call with DBA for Sev-1; app owners own connection pool and transaction boundaries.
psql connection strings (redacted pattern), Patroni/patronictl, disk and WAL queries, escalation contacts.
Sev-1 yes; Sev-3 can use async ticket unless impact spreads.
Game days on staging with injected lock holders and filled temp disks.
Connection count, replication byte lag, slot retention bytes, disk free %, transactions per second, p95 query latency.
Primary unrecoverable or confirmed corruption on primary, not mere slow queries.
At least one year in git for compliance-heavy industries; redact PII.
Yes with idle_in_transaction_session_timeout after app review; document in runbook.
Follow the Related links for scenario-specific depth.
Stack versions: This page was written for PostgreSQL 18.4 (stable 18, maintenance 17), pgvector 0.8+, PgBouncer 1.x, Patroni 3.x, and PostGIS 3.5+.