← Back to Labs
Write-ahead log lifecycle
Open a transaction, dirty pages, commit, checkpoint, crash, and recover. Watch the WAL reach durable storage before the data files do.
LSN 0idle
Begin a transaction, dirty a page, commit it, then checkpoint or crash. The sequence matters because WAL must reach durable storage before the matching data page does.
Shortcuts: B begin · 1-6 update · C commit · K checkpoint · Q crash · R recover · X reset
Tap the controls to run the WAL lifecycle.