On WAL Redundancy in Postgres
summary
Explains redundancy in PostgreSQL WAL (write-ahead log) files and shows that WAL data compresses highly, indicating excess redundancy. Demonstrates how changing physical cluster parameters can significantly improve local write efficiency and replication throughput, while also warning that some changes can cause serious incidents.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:53WAL purpose and history
- 6:11WAL invariant in Postgres
- 9:42Full page writes impact
- 12:54WAL structure and segments
- 17:44Recovery and replication
- 19:51WAL compression optimization
- 26:52Full record compression
- 33:16Summary and outlook
- 33:38Q&A
related talks
26mThe Wonderful World of WAL
31mPostgreSQL WAL and Commit Synchronization, Optimization Opportunities
44mUnderstanding Write-Ahead Logging (WAL) in PostgreSQL
29mLogical replication theory and concepts
38mScaling PostgreSQL Replicas Under Load
35mUnderstanding and Optimizing commit sychronization for maximum performance
22mHazards of logical decoding in PostgreSQL
24mPostgreSQL physical replication - internals, latest development and opportunities
