Recovery
Monitor PostgreSQL WAL Archiver Status with pg_stat_archiver
Monitor PostgreSQL WAL Archiver Status with pg_stat_archiver pg_stat_archiver is the canonical place to check whether PostgreSQL's continuous archiving is keeping up — a single-row view that exposes last_archived_wal, last_failed_wal, and the rolling failure count without parsing log files. On a healthy cluster the row …
Read MorePostgreSQL Physical Backup Guide with pg_basebackup
May 15, 2026 / · 9 min read · pg_basebackup backup physical backup replication recovery pg_stat_progress_basebackup ·PostgreSQL Physical Backups with pg_basebackup Seeding a new streaming standby and starting a point-in-time recovery chain are the same job at the first step: copy the whole cluster, consistently, while it keeps serving traffic. pg_basebackup does that over a normal replication connection, with no downtime and no …
Read Morepg_is_in_recovery — Monitor PostgreSQL Standby Status
Aug 28, 2024 / · 9 min read · PostgreSQL SQL Database Recovery Monitoring pg_is_in_backup pg_is_in_recovery pg_backup_start_time ·Monitor PostgreSQL Recovery Status with pg_is_in_recovery Is this server a standby, and is it still applying WAL? One SELECT answers both questions. It calls pg_is_in_recovery() and the functions that report how far a standby has received and replayed the write-ahead log (WAL), and it adds the two legacy …
Read More