Installing TokuDB
Before we can start using TokuDB, we must first install it. TokuDB is included in MariaDB, but it is not activated by default.
How to do it...
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
How it works...
Like some of the other plugins and alternative storage engines that ship with MariaDB, TokuDB is disabled by default. To enable it, we use the INSTALL SONAME
command. There are several parts to the TokuDB...