mariadb/README.md

89 lines
2.9 KiB
Markdown
Raw Normal View History

2013-04-18 14:16:47 -04:00
TokuDB
======
TokuDB is a high-performance, write optimized, transactional storage engine for MySQL, MariaDB, and Percona Server.
For more details, see our [product page][products].
2013-04-18 14:16:47 -04:00
This repository contains the MySQL plugin that uses the [TokuFT][tokuft] 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/
2014-07-23 13:55:22 -04:00
[tokuft]: http://github.com/Tokutek/ft-index
2013-04-18 14:16:47 -04:00
[mysql]: http://github.com/Tokutek/mysql
[mariadb]: http://github.com/Tokutek/mariadb
2014-11-26 16:09:21 -05:00
Download
--------
2014-11-26 15:01:11 -05:00
2014-11-26 15:06:55 -05:00
* [MySQL 5.5 + TokuDB](http://www.tokutek.com/tokudb-for-mysql/download-community/)
* [MariaDB 5.5 + TokuDB](http://www.tokutek.com/tokudb-for-mysql/download-community/)
* [MariaDB 10.0 + TokuDB](https://downloads.mariadb.org/)
* [Percona Server 5.6 + TokuDB](http://www.percona.com/downloads/)
2014-11-26 15:01:11 -05:00
2014-11-26 16:09:21 -05:00
Build
-----
2013-04-18 14:16:47 -04:00
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.
2015-01-26 10:39:23 -05:00
To build MySQL 5.5.41 with TokuDB 7.5.5:
2013-04-18 14:16:47 -04:00
```sh
2015-01-26 10:39:23 -05:00
scripts/make.mysql.bash --mysqlbuild=mysql-5.5.41-tokudb-7.5.5-linux-x86_64
2013-04-18 14:16:47 -04:00
```
2015-01-26 10:39:23 -05:00
To build MariaDB 5.5.41 with TokuDB 7.5.5:
2013-04-18 14:16:47 -04:00
```sh
2015-01-26 10:39:23 -05:00
scripts/make.mysql.bash --mysqlbuild=mariadb-5.5.41-tokudb-7.5.5-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
2014-04-16 14:30:51 -04:00
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`
2013-12-20 14:13:57 -05:00
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
To build a debug MySQL with TokuDB using the head of the Tokutek github
repositories, run this:
```sh
scripts/make.mysql.debug.env.bash
```
2015-01-26 10:39:23 -05:00
We use gcc from devtoolset-1.1 on CentOS 5.9 for builds.
2013-04-18 14:16:47 -04:00
2014-11-26 16:09:21 -05:00
Contribute
----------
2013-04-18 14:16:47 -04:00
2014-11-26 16:09:21 -05:00
Please report TokuDB bugs at https://tokutek.atlassian.net/browse/DB.
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
2014-11-26 16:09:21 -05:00
We are 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
The TokuFT component of TokuDB is available under the GPL version 2, with
2013-04-18 15:42:28 -04:00
slight modifications. See [README-TOKUDB][license].
2014-04-03 12:50:25 -04:00
[copying]: http://github.com/Tokutek/tokudb-engine/blob/master/COPYING
[license]: http://github.com/Tokutek/tokudb-index/blob/master/README-TOKUDB