TokuDB Differences

You are viewing an old version of this article. View the current version here.

Because we, the MariaDB developers, don't want to add a lot of new features or big code changes to a stable release, not all TokuDB features will be merged at once into MariaDB. Instead they will be added in stages.

On this page we list all the known differences between the TokuDB from Tokutek and the default MariaDB version from MariaDB.org:

All MariaDB versions

  • TokuDB is not the default storage engine.
    • If you want to enable this, you have to start mysqld with: --default-storage-engine=tokudb.
  • Auto increment for second part of a key behaves as documented (and as it does in MyISAM and other storage engines).
  • The DDL syntax is different. While binaries from Tokutek have the patched SQL parser, TokuDB in MariaDB uses the special Storage Engine API extension. Thus in Tokutek binaries you write CLUSTERED KEY (columns) and, for example, ROW_FORMAT=TOKUDB_LZMA. And in MariaDB you write KEY (columns) CLUSTERING=YES and COMPRESSION=TOKUDB_LZMA.

Features missing in MariaDB 5.5

  • No online ALTER TABLE.
    • All alter table that changes data or indexes requires a table copy.
  • No online OPTIMIZE TABLE.
  • No INSERT NOAR or UPDATE NOAR commands.
  • No gdb stack trace on sigsegv

Features likely to be missing in MariaDB 10.0.5

MariaDB 10.0.5, when it is released, is planned to have online ALTER TABLE and online OPTIMIZE TABLE. So the only features missing will be:

  • No INSERT NOAR or UPDATE NOAR commands.
    • We are working with Tokutek to improve this feature before adding it to MariaDB.
  • No gdb stack trace on sigsegv

Version of the TokuDB plugin included on MariaDB

The status variable tokudb_version contains the TokuDB version of the plugin included on MariaDB.

On MariaDB 5.5.33, the version included is the 7.0.4.

Comments

Comments loading...
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.