Understanding the Write Order of Undo Log, Redo Log, and Binlog in MySQL Transactions
This article explains the sequential write process of Undo Log, Redo Log, and Binlog during MySQL transaction execution and commit phases, describes the involved caches, two‑phase commit rationale, and outlines key configuration parameters for each log type.