row / data page
undo
redo log
binary log
fsync: OS cache → disk
request / wake-up
InnoDB · mysql-server 8.4.11 source
Follow one transaction or one query from the client down to the disk. Change a setting on the left and the path re-routes: watch which file gets a write(), which gets an fsync(), and what is still sitting in the OS cache when the client gets OK.
Click any step to replay it. The list changes as you change settings.
Computed from the settings on the left, following what the commit path actually waits for.
How hard the page cleaner flushes. It reacts to two things: how many pages are dirty, and how full the redo log is.
All the places InnoDB and the binlog touch disk, including the background ones the animation summarises. Hover a row to find the file in the diagram.
| File | Operation | Done by | When / controlled by |
|---|