Using InnoDB Instead of XtraDB

By default MariaDB 10.1 and earlier releases come compiled with XtraDB as the default InnoDB replacement. From MariaDB 10.2, InnoDB is the default.

MariaDB starting with 5.5

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 add to your my.cnf file:

# The following should not be needed if you are using a mariadb package:
MariaDB until 5.3

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

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.

© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.