654547b5b4
- Better error from check_slave_param - Better error message from TokuDB if it can't be compiled. - Marked rpl_mixed_drop_create_temp_table and rpl_stm_drop_create_temp_table as big tests to stop timeout failures on power8 - Added sync_slave_with_master to semisync_future-7591 to ensure that slave is up to date with master before calling rpl_end. - Disabled compiler warnings from connect and mroonga and on MacOSX. Mroonga: - Fixed bug when testing if file is a normal file that can be deleted - Marked a lot of date and datetime test to not run on macosx. This is because mktime() can't handle negative years and this restricts mroonga so that it can only store dates after the year 1900. |
||
---|---|---|
.. | ||
doc | ||
doc2 | ||
ft-index | ||
mysql-test | ||
scripts | ||
tests | ||
CMakeLists.txt | ||
COPYING | ||
ha_tokudb.cc | ||
ha_tokudb.h | ||
ha_tokudb_admin.cc | ||
ha_tokudb_alter_55.cc | ||
ha_tokudb_alter_56.cc | ||
ha_tokudb_alter_common.cc | ||
ha_tokudb_mrr_maria.cc | ||
ha_tokudb_mrr_mysql.cc | ||
ha_tokudb_update.cc | ||
hatoku_cmp.cc | ||
hatoku_cmp.h | ||
hatoku_defines.h | ||
hatoku_hton.cc | ||
hatoku_hton.h | ||
README.md | ||
tokudb.cnf | ||
tokudb_buffer.h | ||
tokudb_card.h | ||
tokudb_math.h | ||
tokudb_status.h | ||
tokudb_update_fun.cc | ||
tokudb_vlq.h |
TokuDB
TokuDB is a high-performance, write optimized, transactional storage engine for MySQL, MariaDB, and Percona Server. For more details, see our product page.
This repository contains the MySQL plugin that uses the TokuFT core.
There are also patches to the MySQL and MariaDB kernels, available in our forks of mysql and mariadb.
Download
Build
The scripts/
directory contains a script that can be used to build a
working MySQL or MariaDB with Tokutek patches, and with the TokuDB storage
engine, called make.mysql.bash
. This script will download copies of the
needed source code from github and build everything.
To build MySQL 5.5.41 with TokuDB 7.5.5:
scripts/make.mysql.bash --mysqlbuild=mysql-5.5.41-tokudb-7.5.5-linux-x86_64
To build MariaDB 5.5.41 with TokuDB 7.5.5:
scripts/make.mysql.bash --mysqlbuild=mariadb-5.5.41-tokudb-7.5.5-linux-x86_64
Before you start, make sure you have a C++11-compatible compiler (GCC >= 4.7 is recommended), as well as CMake >=2.8.8, and the libraries and header files for valgrind,zlib, and Berkeley DB. We are using the gcc 4.7 in devtoolset-1.1.
On CentOS, yum install valgrind-devel zlib-devel libdb-devel
On Ubuntu, apt-get install valgrind zlib1g-dev libdb-dev
You can set the compiler by passing --cc
and --cxx
to the script, to
select one that's new enough. The default is scripts/make.mysql.bash --cc=gcc47 --cxx=g++47
, which may not exist on your system.
To build a debug MySQL with TokuDB using the head of the Tokutek github repositories, run this:
scripts/make.mysql.debug.env.bash
We use gcc from devtoolset-1.1 on CentOS 5.9 for builds.
Contribute
Please report TokuDB bugs at https://tokutek.atlassian.net/browse/DB.
We have two publicly accessible mailing lists:
- tokudb-user@googlegroups.com is for general and support related questions about the use of TokuDB.
- tokudb-dev@googlegroups.com is for discussion of the development of TokuDB.
We are on IRC on freenode.net, in the #tokutek channel.
License
TokuDB is available under the GPL version 2. See COPYING
The TokuFT component of TokuDB is available under the GPL version 2, with slight modifications. See README-TOKUDB.