2013-04-18 14:16:47 -04:00
|
|
|
TokuDB
|
|
|
|
======
|
|
|
|
|
|
|
|
TokuDB is a high-performance, transactional storage engine for MySQL and
|
|
|
|
MariaDB. For more details, see our [product page][products].
|
|
|
|
|
2013-04-18 14:26:06 -04:00
|
|
|
This repository contains the MySQL plugin that uses the [TokuKV][tokukv]
|
|
|
|
core.
|
2013-04-18 14:16:47 -04:00
|
|
|
|
|
|
|
There are also patches to the MySQL and MariaDB kernels, available in our
|
|
|
|
forks of [mysql][mysql] and [mariadb][mariadb].
|
|
|
|
|
|
|
|
[products]: http://www.tokutek.com/products/tokudb-for-mysql/
|
|
|
|
[tokukv]: http://github.com/Tokutek/ft-index
|
|
|
|
[mysql]: http://github.com/Tokutek/mysql
|
|
|
|
[mariadb]: http://github.com/Tokutek/mariadb
|
|
|
|
|
|
|
|
|
|
|
|
Building
|
|
|
|
--------
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2013-04-21 11:26:47 -03:00
|
|
|
To build MySQL with TokuDB 7.0.1:
|
2013-04-18 14:16:47 -04:00
|
|
|
```sh
|
2013-05-20 13:44:03 -03:00
|
|
|
scripts/make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-7.0.1-linux-x86_64
|
2013-04-18 14:16:47 -04:00
|
|
|
```
|
|
|
|
|
2013-04-21 11:26:47 -03:00
|
|
|
To build MariaDB with TokuDB 7.0.1:
|
2013-04-18 14:16:47 -04:00
|
|
|
```sh
|
2013-05-20 13:44:03 -03:00
|
|
|
scripts/make.mysql.bash --mysqlbuild=mariadb-5.5.30-tokudb-7.0.1-linux-x86_64
|
2013-04-18 14:16:47 -04:00
|
|
|
```
|
|
|
|
|
2013-04-18 16:11:00 -04:00
|
|
|
Before you start, make sure you have a C++11-compatible compiler (GCC >=
|
2013-05-02 14:38:49 -03:00
|
|
|
4.7 is recommended), as well as CMake >=2.8.8, and the libraries and
|
|
|
|
header files for valgrind,zlib, and Berkeley DB. On Centos, `yum install
|
|
|
|
valgrind-devel zlib-devel libdb-devel`, on Ubuntu, `apt-get install
|
|
|
|
valgrind zlib1g-dev libdb-dev`.
|
2013-04-25 22:34:00 -03:00
|
|
|
|
|
|
|
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.
|
2013-04-18 16:09:05 -04:00
|
|
|
|
2013-04-18 14:16:47 -04:00
|
|
|
|
|
|
|
Contributing
|
|
|
|
------------
|
|
|
|
|
2013-04-18 14:25:16 -04:00
|
|
|
Please report bugs in TokuDB here on github.
|
2013-04-18 14:16:47 -04:00
|
|
|
|
|
|
|
We have two publicly accessible mailing lists:
|
|
|
|
|
|
|
|
- tokudb-user@googlegroups.com is for general and support related
|
2013-04-18 14:40:06 -04:00
|
|
|
questions about the use of TokuDB.
|
2013-04-18 14:16:47 -04:00
|
|
|
- tokudb-dev@googlegroups.com is for discussion of the development of
|
2013-04-18 14:40:06 -04:00
|
|
|
TokuDB.
|
2013-04-18 14:16:47 -04:00
|
|
|
|
2013-04-19 08:44:42 -04:00
|
|
|
We are also available on IRC on freenode.net, in the #tokutek channel.
|
2013-04-18 14:16:47 -04:00
|
|
|
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
2013-04-18 15:42:28 -04:00
|
|
|
TokuDB is available under the GPL version 2. See [COPYING][copying]
|
2013-04-18 14:16:47 -04:00
|
|
|
|
2013-04-18 15:42:28 -04:00
|
|
|
The TokuKV component of TokuDB is available under the GPL version 2, with
|
|
|
|
slight modifications. See [README-TOKUDB][license].
|
|
|
|
|
|
|
|
[copying]: http://github.com/Tokutek/ft-engine/blob/master/COPYING
|
2013-04-18 14:16:47 -04:00
|
|
|
[license]: http://github.com/Tokutek/ft-index/blob/master/README-TOKUDB
|