Enabling TokuDB engine in MariaDB

TokuDB is a drop-in replacement for any other storage engine (including InnoDB) so you can switch engines without changing your application. TokuDB is open source, and is available in both a Community Edition and an Enterprise Edition.

It is one of the best engine available for high performance database I/O

Edit /etc/mysql/my.cnf and add the following line in the [mysqld] section

plugin-load = ha_tokudb

Restart the server.

It is necessary to have transparent_hugepages disabled in order to run tokudb engine inside MariaDB

You can check if the plugin is loaded or not by running mysql terminal and executing the following SQL command