实验的时候会发现 /opt/mysql/data/3400/ibdata1 系统表空间操作较多,这是在进行 double write 操作。
Sun Oct 11 12:55:35 UTC 2020
Tracing process ID 7777
total read pwrite64 write fsync open lseek filename
12287 0 6941 0 5346 0 0 /opt/mysql/data/3400/ibdata1
5010 0 0 0 5010 0 0 /opt/mysql/data/3400/sbtest/sbtest1.ibd
4837 0 0 4837 0 0 0 /opt/mysql/tmp/3400/MLfgQmPl
2291 0 372 0 1361 0 558 /opt/mysql/data/3400/undo003
1066 0 421 0 645 0 0 /opt/mysql/log/redolog/3400/ib_logfile0
4 1 0 1 0 1 1 /opt/mysql/data/3400/mysql/slow_log.CSV
1 0 0 1 0 0 0 /opt/mysql/data/3400/mysql-slow.log
Sun Oct 11 13:07:44 UTC 2020
Tracing process ID 7777
total read pread64 pwrite64 write fsync lseek ftruncate filename
11206 0 0 6453 0 4753 0 0 /opt/mysql/data/3400/ibdata1
4515 0 30 0 0 4485 0 0 /opt/mysql/data/3400/sbtest/sbtest1.ibd
1266 0 1 0 0 1265 0 0 /opt/mysql/data/3400/undo003
914 0 0 361 0 553 0 0 /opt/mysql/log/redolog/3400/ib_logfile0
3 1 0 0 1 0 1 0 /opt/mysql/data/3400/mysql/slow_log.CSV
3 0 0 0 1 0 1 1 /opt/mysql/tmp/3400/MLfgQmPl
1 0 0 0 1 0 0 0 /opt/mysql/data/3400/mysql-slow.log