MySQL Database filesystem standard

MySQL

Our client is asking some document regarding MySQL database filesystem best practices, could you please share information about that.

Best Answer

MongoDB recommends XFS in official docs. But MariaDB (and MySQL have no file system best practises/parameter tuning).

Quote from What is the best Linux filesystem for MariaDB?

Trying to figure out which filesystem gives the best performance may be fun, but the filesystem won't make a large difference in the performance of your MariaDB server. Your hardware is the most crucial factor in eking out the most speed. Fast hard drives, discrete drive controllers, lots of fast RAM, a multi-core processor, and a fast network have a larger impact on performance than the filesystem. You can also tailor your MariaDB configuration options for best performance for your workloads.

Don't forget to mount fs with noatime.