Skip to main content
InterviewHubPRO
Section Overview
Q13

Question 13 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

26%
MySQL & InnoDB (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

What is the Redo Log (Write-Ahead Logging - WAL) in InnoDB?

senior LevelSystem DesignMySQL

In Simple Words: The Redo Log is a circular on-disk log file that records physical changes made to pages:

  • Write-Ahead Logging (WAL): Transactions write changes to memory and append to the Redo Log sequentially on disk. Disk writes are sequential and fast.
  • Crash Recovery: If the server crashes or loses power, InnoDB replays uncommitted changes from the Redo Log during restart, guaranteeing Durability (the D in ACID).