IT lexicon Database WAL

WAL Write-Ahead Log

Database På svenska → Updated: 2026-05-23

The technique that gives databases durability (D in ACID): write to a sequential log first, then to the actual data file.

On crash: replay WAL to restore committed transactions. Postgres, MySQL InnoDB, SQLite — all have WAL. Also the foundation for streaming replication: ship WAL to replicas in real time.

← Back to the lexicon