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.


Ship secure code faster

Crash Override integrates security into the developer workflow. No context switching, no waiting on reviews.