Centos 6.5 Percona 5.6.27 Tokudb Configuration

Source: Internet
Author: User
Tags percona

Centos 6.5 Percona 5.6.27 Tokudb Configuration
# Wget https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.27-75.0/binary/tarball/Percona-Server-5.6.27-rel75.0-Linux.x86_64.ssl101.tar.gz unzip to/usr/local, Create Symbolic Link/usr/local/percona startup error/usr/local/percona/bin/mysqld: error while loading shared libraries: libnuma. so.1: cannot open shared object file: No such file or directory solution: Find # yum search libnuma numactl. library for tuning for Non Uniform Memory Access machines numactl-devel.x86_64: development package for building Applications that use numa to install yum install numactl start a new ERROR [ERROR] TokuDB is not initialized because jemalloc is not loaded solution: install the yum extension source EPEL that is Extra Packages for Enterprise Linux # rpm-ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm # yum install jemalloc installed the jemalloc-3.6.0-1.el6.x86_64 # rpm-ql jemalloc-3.6.0-1.el6.x86_64 to view the Library's specific path/usr/lib64/libjemalloc. so.1 # vi/etc/my. cnf [mysqld_safe] malloc-lib =/usr/lib64/libjemalloc. so.1 [mysqld]... plugin-dir =/usr/local/percona/lib/mysql/plugin-load = ha_tokudb.so tokudb_row_format = tokudb_fast partition = 1G partition = 0 tokudb_directio = 1 partition = 128 K partition = 128 K # Separate TokuDB datadir and logdir from MySQL datadir, US opinion tokudb-data-dir =/data/mysql/tokudb/data tokudb-log-dir =/data/mysql/tokudb/log disable transparent_hugepage # vi/etc/rc. local to take effect immediately, manually run the echo never>/sys/kernel/mm/transparent_hugepage/enabled echo never>/sys/kernel/mm/transparent_hugepage/defrag to install tokudb # cd /usr/local/percona/bin #. /ps_tokudb_admin -- enable-uroot-pPassw0rd mysql: error while loading shared libraries: libreadline. so.5: cannot open shared object file: No such file or directory ldd/usr/local/percona/bin/mysql linux-vdso.so.1 => (0x00007fff197a5000) libpthread. so.0 =>/lib64/libpthread. so.0 (0x00007f422479d000) libreadline. so.5 => not found solution yum install compat-readline5-devel after successful installation view mysql> show engines; | TokuDB | YES | Tokutek TokuDB Storage Engine with Fractal Tree (tm) technology | YES |...

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.