Pattern 04 / DATA
Write-Ahead Log (WAL)
Use this when recovering durable writes after a crash without corrupting storage.
- Pressure
- Recovering durable writes after a crash without corrupting storage
- Mechanism
- Append the intended change to a sequential log before mutating primary data files; replay the log on restart
- Toll
- Extra write amplification and log compaction/retention work
