InnoDB · mysql-server 8.4.11 source

MySQL 8.4 Data Paths

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.

row / data page undo redo log binary log fsync: OS cache → disk request / wake-up

Steps in this scenario

Click any step to replay it. The list changes as you change settings.

    What a crash right after OK would cost

    Computed from the settings on the left, following what the commit path actually waits for.

    Flush pacing

    How hard the page cleaner flushes. It reacts to two things: how many pages are dirty, and how full the redo log is.

    Every disk write, in one table

    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.

    FileOperationDone byWhen / controlled by