innodb_flush_neighbors: The Spinning-Disk Setting We Carried Onto NVMe
Our 8.0 config had innodb_flush_neighbors=1, inherited verbatim from a 5.7 my.cnf written for spinning disks in 2015. On NVMe it was pure write amplification: 18% of checkpoint flush IOPS were pages nobody asked to write. Setting it to 0 smoothed…