TokuDB

TokuDB has been deprecated by its upstream maintainer. It is disabled from MariaDB 10.5 and has been been removed in MariaDB 10.6 - MDEV-19780. We recommend MyRocks as a long-term migration path.

The TokuDB storage engine is for use in high-performance and write-intensive environments, offering increased compression and better performance.

It is available in an open-source version, included with 64-bit MariaDB (but not enabled by default), and an Enterprise edition available from Tokutek.

Official TokuDB Product Specs and Manuals are available on the Percona website. See:

TokuDB is available on the following distributions:

Distribution Introduced
CentOS 6 64-bit and newer MariaDB 5.5.36 and MariaDB 10.0.9
Debian 7 "wheezy"64-bit and newer MariaDB 5.5.33 and MariaDB 10.0.5
Fedora 19 64-bit and newer MariaDB 5.5.33 and MariaDB 10.0.5
openSUSE 13.1 64-bit and newer MariaDB 5.5.41 and MariaDB 10.0.15
Red Hat 6 64-bit and newer MariaDB 5.5.36 and MariaDB 10.0.9
Ubuntu 12.10 "quantal" 64-bit and newer MariaDB 5.5.33 and MariaDB 10.0.5

Note that the default value of tokudb_pk_insert_mode will prevent row-based replication from working. To use RBR, change the value of this variable.

Versions of the TokuDB plugin included in MariaDB

TokuDB Version Introduced Maturity
TokuDB from Percona Server 5.6.49-89.0 MariaDB 10.1.46 Stable
TokuDB from Percona Server 5.6.46-86.2 MariaDB 10.1.44 Stable
TokuDB from Percona Server 5.6.43-84.3 MariaDB 10.1.39 Stable
TokuDB from Percona Server 5.6.42-84.2 MariaDB 10.0.38 Stable
TokuDB from Percona Server 5.6.41-84.1 MariaDB 10.1.36, MariaDB 10.0.37 Stable
TokuDB from Percona Server 5.6.39-83.1 MariaDB 10.0.35 Stable
TokuDB from Percona Server 5.6.38-83.0 MariaDB 10.1.31, MariaDB 10.0.34 Stable
TokuDB from Percona Server 5.6.37-82.2 MariaDB 10.2.9, MariaDB 10.1.27, MariaDB 10.0.33 Stable
TokuDB from Percona Server 5.6.36-82.1 MariaDB 10.2.8, MariaDB 10.1.26, MariaDB 10.0.32 Stable
TokuDB from Percona Server 5.6.36-82.0 MariaDB 10.2.7, MariaDB 10.1.24, MariaDB 10.0.31 Stable
TokuDB from Percona Server 5.6.35-80.0 MariaDB 10.2.5, MariaDB 10.1.22, MariaDB 10.0.30 Stable
TokuDB from Percona Server 5.6.34-79.1 MariaDB 10.1.20, MariaDB 10.0.29 Stable
TokuDB from Percona Server 5.6.33-79.0 MariaDB 10.1.19, MariaDB 10.0.28 Stable
TokuDB from Percona Server 5.6.32-78.1 MariaDB 10.1.18 Stable
TokuDB from Percona Server 5.6.31-77.0 MariaDB 10.1.17, MariaDB 10.0.27 Stable
TokuDB from Percona Server 5.6.30-76.3 MariaDB 10.1.15, MariaDB 10.0.26 Stable
TokuDB from Percona Server 5.6.26-74.0 [1] MariaDB 10.0.23 Stable
TokuDB 7.5.7 MariaDB 10.0.20, MariaDB 5.5.44 Stable
TokuDB 7.5.6 MariaDB 10.1.5, MariaDB 10.0.18, MariaDB 5.5.43 Stable
TokuDB 7.5.5 MariaDB 10.1.3, MariaDB 10.0.17, MariaDB 5.5.42 Stable
TokuDB 7.5.4 MariaDB 10.0.16 Stable
TokuDB 7.5.3 MariaDB 10.1.2, MariaDB 10.0.15, MariaDB 5.5.41 Stable
TokuDB 7.5.0 MariaDB 10.0.14, MariaDB 5.5.40 Stable
TokuDB 7.1.7 MariaDB 10.0.13, MariaDB 5.5.39 Stable
TokuDB 7.1.6 MariaDB 10.0.11, MariaDB 5.5.38 Stable
TokuDB 7.1.5 MariaDB 10.0.10, MariaDB 5.5.37 Stable
TokuDB 7.1.0 MariaDB 5.5.34 Stable
TokuDB 7.0.4 MariaDB 10.0.5, MariaDB 5.5.33 Stable

The version of TokuDB in your local MariaDB is available by querying the tokudb_version status variable. For example:

SHOW VARIABLES LIKE 'tokudb_version';

In the MariaDB binary tarballs, only the ones labeled "glibc_214" have TokuDB.

  1. with this version, TokuDB now follows the version numbering of Percona XtraDB

More information about TokuDB in MariaDB can be found on the following pages:

Title Description
Installing TokuDB How to install and enable TokuDB in MariaDB.
TokuDB Differences Things to know before using TokuDB in MariaDB.
TokuDB Resources Online TokuDB resources.
TokuDB Status Variables TokuDB status variables
TokuDB System Variables TokuDB System Variables
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/tokudb/