Brussels / 2 & 3 February 2019


The consequences of sync_binlog != 1

Have you ever needed to get some additional write throughput from MySQL ? If yes, you probably found that setting syncbinlog to 0 (and trxcommit to 2) gives you an extra performance boost. As all such easy optimisation, it comes at a cost. This talk explains how this tuning works, presents its consequences and gives recommendations to avoid them. This will bring us to the details of how MySQL commits transactions and how those are replicated to slaves. Come to this talk to learn how to get the benefit of this tuning the right way and to learn some replication internals.


Photo of Jean-François Gagné Jean-François Gagné