Technologies/PostgreSQL/replication_slot_safe_wal_size
PostgreSQLPostgreSQLMetric

replication_slot_safe_wal_size

Slot safe WAL size
Dimensions:None
Available on:PrometheusPrometheus (1)
Interface Metrics (1)
PrometheusPrometheus
number of bytes that can be written to WAL such that this slot is not in danger of getting in state lost
Dimensions:None

Technical Annotations (3)

CLI Commands (1)
du -sh /var/lib/postgresql/*/pg_waldiagnostic
Technical References (2)
pg_walfile pathWrite-Ahead Logging (WAL)component
Related Insights (1)
WAL directory bloats to terabytes when replication consumers never reconnectcritical