Skip to content
software

WAL

Write-Ahead Log

Definition

A WAL is a durability mechanism where database changes are written to a sequential log before being applied to data files. On crash recovery, the database replays unfinished WAL entries to restore a consistent state.

WAL also enables streaming replication and CDC by allowing replicas and consumers to read the change stream. PostgreSQL's WAL is the foundation of its replication and logical decoding capabilities.


Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.