As some of you likely know, I have a favorable view of ZFS and
especially of MySQL on ZFS. As I published a few years ago, the argument for
ZFS was less about performance than its useful features like data
compression and snapshots. At the time, ZFS was significantly
slower than xfs and ext4 except when the L2ARC was used.
Since then, however, ZFS on Linux has progressed a lot and I also
learned how to better tune it. Also, I found out the sysbench
benchmark I used at the time was not a fair choice since the
dataset it generates compresses much less than a realistic one.
For all these reasons, I believe that it is time to revisit the
performance aspect of MySQL on ZFS.
ZFS Evolution
In 2018, I reported ZFS performance results based on version
0.6.5.6, the default version available in Ubuntu Xenial. The
present post is using …
[Read more]