This post is a hands-on look at ZFS with MySQL.
In my previous post, I highlighted the similarities between
MySQL and ZFS. Before going any further, I’d like you to be able
to play and experiment with ZFS. This post shows you how to
configure ZFS with MySQL in a minimalistic way on either Ubuntu
16.04 or Centos 7.
Installation
In order to be able to use ZFS, you need some available storage
space. For storage – since the goal here is just to have a
hands-on experience – we’ll use a simple file as a
storage device. Although simplistic, I have now been using a
similar setup on my laptop for nearly three years (just can’t get
rid of it, it is too useful). For simplicity, I suggest you
use a small Centos7 or Ubuntu 16.04 VM with one core, 8GB of disk
and 1GB of RAM.
First, you need to install …
[Read more]