Write-ahead logs in five minutes
Riya MenonFeatured AuthorPosted · 1 min read
A database writes every change to an append-only log and flushes it to disk before changing its data files. After a crash, it replays the log to recover.
Appends are sequential and fast, while the data files can be updated lazily in the background.
Comments