Using InnoDB instead of XtraDB

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

By default MariaDB comes compiled with XtraDB as the default InnoDB replacement.

Starting from MariaDB 5.5, all standard MariaDB distributions also includes InnoDB as a plugin.

To use the InnoDB plugin instead of XtraDB you can do:

mysqld --ignore-builtin-innodb --plugin-load=innodb=ha_innodb.so \
--plugin_dir=/usr/local/mysql/lib/mysql/plugin

For MariaDB 5.3 and below, the name of the library is ha_innodb_plugin.so

The reasons you may want to use InnoDB instead of XtraDB are:

  • You want to benchmark the difference between InnoDB/XtraDB
  • You hit a bug in XtraDB
  • You got a table space crash in XtraDB and recovery doesn't work. In some cases InnoDB may do a better job to recover data.

See Also

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.