tokuDB 구성
https://mariadb.com/kb/en/mariadb/enabling-tokudb/ 를 참고하였다.
strings libstdc++.so.6.0.13 | grep GLIBCXX I get
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
glibc 2.14로 upgrade
mkdir ~/glibc_install; cd ~/glibc_install
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
tar zxvf glibc-2.14.tar.gz
cd glibc-2.14
mkdir build
cd build
../configure --prefix=/opt/glibc-2.14
make -j4
sudo make install
export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
mariadb repo 구성
vi /etc/yum.repos.d/MariaDB.repo
# MariaDB 10.0 CentOS repository list - created 2016-11-21 00:51 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
# yum -y install libssl.so.6 numactl jemalloc compat-readline5-devel
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag
cd /engn001/masvc01/GAAID
tar zxvf Percona-Server-5.6.23-rel72.1-Linux.x86_64.tar.gz
tar zxvf Percona-Server-5.6.23-rel72.1-TokuDB.Linux.x86_64.tar.gz
ln -s /engn001/masvc01/GAAID/percona-server-5.6.23-72.1 mysql
chown -R masvc01:masvc01 mysql