postgresql.wal_size
WAL file sizeDimensions:None
Interface Metrics (4)
Sources
Technical Annotations (19)
Configuration Parameters (5)
max_wal_sizerecommended: 4GB (OLTP) or 16GB (OLAP)min_wal_sizerecommended: 1GB (OLTP) or 4GB (OLAP)checkpoint_warningrecommended: 30scheckpoint_timeoutcheckpoint_completion_targetCLI Commands (4)
SELECT * FROM pg_replication_slots;diagnosticSELECT pg_drop_replication_slot(slot_name);remediationdu -sh /var/lib/postgresql/*/pg_waldiagnosticSELECT * FROM pg_stat_bgwriter;diagnosticTechnical References (10)
catalog_xminconceptWAL (Write-Ahead Log)componentreplication slotcomponentpg_walfile pathWrite-Ahead Logging (WAL)componentWALcomponentcheckpointconceptpg_stat_bgwritercomponentlogical replication slotcomponentDDL mismatchconceptRelated Insights (5)
Inactive replication slots prevent autovacuum from removing dead tuples cluster-widecritical
▸
WAL directory bloats to terabytes when replication consumers never reconnectcritical
▸
Undersized max_wal_size triggers frequent checkpoints and I/O spikeswarning
▸
Logical replication slot retained 180 GB of WAL causing disk pressurecritical
▸
Checkpoint and WAL configuration mismatches cause I/O spikeswarning
▸