Before we can start using TokuDB, we must first install it. TokuDB is included in MariaDB, but it is not activated by default.
Follow the ensuing steps:
Launch the
mysql
command-line client application with a user that has theSUPER
privilege (like theRoot
user).Run the following command:
INSTALL SONAME 'ha_tokudb.so';
Run the
SHOW PLUGINS;
command and verify that the TokuDB plugins areACTIVE
. The output will be similar to the following screenshot (it has been edited to show just the TokuDB entries):Run the
SHOW ENGINES;
command and verify that the TokuDB storage engine is listed and enabled (the Support column). The output of the TokuDB line will be similar to the following:Engine
Support
Comment
TokuDB
YES
Tokutek TokuDB Storage Engine