Official document:http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_installation.html
Enabling the Tokudb STORAGE ENGINE manually
If you ' re running Percona Server 5.6.22-71.0 This storage engine requires manual installation.
INSTALL PLUGIN tokudb SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_file_map SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_fractal_tree_info SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_fractal_tree_block_map SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_trx SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_locks SONAME ' ha_tokudb.so ';
INSTALL PLUGIN tokudb_lock_waits SONAME ' ha_tokudb.so ';
If you use 5.6.24, you don't need this step.
After installing TOKUDB
The following issues may occur when you start Percona server
Unknown variable ' malloc-lib=/usr/local/mysql/lib/mysql/libjemalloc.so '
need to be The Malloc_lib parameter is placed below the [Mysqld_safe] section
Tokudb solve the problem of random writes thanks to its index structure,the difference between Fractal tree and b-tree is mainly on the internal node of the index tree,b-tree The internal structure of the index is only a pointer to the parent and child nodes, and the inner node of the Fractal Tree has pointers to both the parent and child nodes, and a Buffer area. When the data is written, it falls first to the buffer area, which is a FIFO structure, which is written in a sequential process, like any other buffer, that is filled with one-time brush-write data. So inserting data on TOKUDB is basically a process of adding in order.
This article is from the DBA Sky blog, so be sure to keep this source http://9425473.blog.51cto.com/9415473/1662835
Issues that may occur when installing TOKUDB