One of the cool things about talking about MySQL performance with ZFS is that there is not much tuning to be done Tuning with ZFS is considered evil, but a necessity at times. In this blog I will describe some of the tunings that you can apply to get better performance with ZFS as well as point out performance bugs which when fixed will nullify the need for some of these tunings.
For the impatient, here is the summary. See below for the reasoning behind these recommendations and some gotchas.
- Match ZFS recordsize with Innodb page size (16KB for Innodb Datafiles, and 128KB for Innodb log files).
- If you have a write heavy workload, use a Seperate ZFS Intent Log.
- If your database working set size does not fit in memory, …