How we debugged a database query using pg_stat_activity, pg_blocking_pids(), system graphs, and our knowledge of PostgreSQL.
Fetched April 11, 2026