Troubleshooting

3 articles in this category.

← Back to all posts

How Do You Check Progress on PostgreSQL's Crash Recovery Process?

PostgreSQL 14's compactify_tuples optimization made crash recovery 2.4x faster. Learn 5 methods to monitor WAL replay progress, from pg_controldata to pg_stat_recovery_prefetch.

PostgreSQL Autovacuum Internals & Tuning Guide

At default settings, a 1 TB PostgreSQL table accumulates up to 200 GB of dead rows before autovacuum triggers. Learn how autovacuum's cost model works and how to tune it for production databases.

PostgreSQL Running Slow? A Step-by-Step Diagnostic Guide

Your PostgreSQL database is slow and you don't know why. This guide walks through a systematic diagnosis process — slow queries, EXPLAIN analysis, index auditing, and autovacuum.