By default MariaDB comes compiled with XtraDB as the default InnoDB replacement.
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:
[mysqld] ignore_builtin_innodb plugin_load=innodb=ha_innodb.so # The following should not be needed if you are using a mariadb package: plugin_dir=/usr/local/mysql/lib/mysql/plugin
MariaDB until 5.3
For MariaDB 5.3 and below, the name of the library is
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.