Upgrading from MariaDB 5.5 to MariaDB 10.0

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

What you need to know when upgrading from MariaDB 5.5 and MariaDB 10.0

As there has not been any changes in table or index formats between MariaDB 5.5 and MariaDB 10.0, the upgrade should be painless.

How to upgrade

  • Shutdown and uninstall MariaDB 5.5
  • Take a backup (this is the perfect time to take a backup of your databases)
  • Install MariaDB 10.0.
  • run mysql_upgrading (if your package is not doing that for you). This will do two things:
    • Upgrade the permission tables in the mysql database with some new fields.
    • Do a very quick check of all tables and mark them compatible with MariaDB 10.0
  • Add new options to my.cnf to enable features.
    • If you changed my.cnf then you need to restart mysqld.

Incompatible changes between 5.5 and 10.0

For most user, upgrading from 5.5 should be painless. Here follows a list of those things that has changed that could affect and upgrade:

Options that has changed default value

Most of the following options has increased a bit in value to give better performance. They should not use notable more memory, but some of them a bit more disk space.

Options that has been removed or renamed

The following options should be removed or renamed if you use them in your config files:

OptionReason
engine-condition-pushdown Replaced with set optimizer_switch='engine_condition_pushdown=on'
innodb-adaptive-flushing-methodRemoved by XtraDB
innodb-autoextend-incrementRemoved by XtraDB
innodb-blocking-buffer-pool-restoreRemoved by XtraDB
innodb-buffer-pool-pagesRemoved by XtraDB
innodb-buffer-pool-pages-blobRemoved by XtraDB
innodb-buffer-pool-pages-indexRemoved by XtraDB
innodb-buffer-pool-restore-at-startupRemoved by XtraDB
innodb-buffer-pool-shm-checksumRemoved by XtraDB
innodb-buffer-pool-shm-keyRemoved by XtraDB
innodb-checkpoint-age-targetRemoved by XtraDB
innodb-dict-size-limitRemoved by XtraDB
innodb-doublewrite-fileRemoved by XtraDB
innodb-fast-checksumRenamed to innodb-checksum-algorithm
innodb-flush-neighbor-pagesRenamed to innodb-flush-neighbors
innodb-ibuf-accel-rateRemoved by XtraDB
innodb-ibuf-active-contractRemoved by XtraDB
innodb-ibuf-max-sizeRemoved by XtraDB
innodb-import-table-from-xtrabackupRemoved by XtraDB
innodb-index-statsRemoved by XtraDB
innodb-lazy-drop-tableRemoved by XtraDB
innodb-merge-sort-block-sizeRemoved by XtraDB
innodb-persistent-stats-root-pageRemoved by XtraDB
innodb-read-aheadRemoved by XtraDB
innodb-recovery-statsRemoved by XtraDB
innodb-recovery-update-relay-logRemoved by XtraDB
innodb-stats-auto-updateRenamed to innodb-stats-auto-recalc
innodb-stats-update-need-lockRemoved by XtraDB
innodb-sys-statsRemoved by XtraDB
innodb-table-statsRemoved by XtraDB
innodb-thread-concurrency-timer-basedRemoved by XtraDB
innodb-use-sys-stats-tableRemoved by XtraDB
xtradb-admin-commandRemoved by XtraDB

New major features you should consider using in MariaDB 10.0

For master / slave setups

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.