OLTP – Phase 9 Write-Ahead Log (WAL)
📝
内容提要
Everything we’ve built so far has a fatal flaw: if the power goes out, data is lost. The buffer pool keeps dirty pages in memory and flushes them to disk lazily. A crash before that flush means...