Issues that may occur when installing TOKUDB

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.