Databases Write-Ahead Logging: The Contract Between Crash Recovery and Your Commits Why databases write the log before the page, how REDO and UNDO recover, and the fsync choices that turn a power loss into silent corruption or lost commits. Aug 30, 20264 min read Read →