Incompatibilities and Feature Differences Between MariaDB 10.3 and MySQL 5.7

MariaDB maintains high levels of compatibility with MySQL, and most applications that use MySQL will work seamlessly with MariaDB. However, take note of the following incompatibilities and feature differences between MariaDB 10.3 and MySQL 5.7

Storage Engines

In addition to the standard InnoDB, MyISAM, BLACKHOLE, CSV, MEMORY, ARCHIVE, and MERGE storage engines, the following are also available with MariaDB 10.3:

Speed Improvements

  • Many optimizer enhancements. Subqueries are more usable. The complete list and a comparison with MySQL is here.

  • Faster and safer replication:Group commit for the binary log. This makes many setups that use replication and lots of updates more than 2x times faster.

  • Improvements for Innodb asynchronous IO subsystem on Windows.

  • Segmented Key Cache for MyISAM. Can speed up MyISAM tables with up to 4x

  • Adjustable hash size for MyISAM and Aria. This can greatly improve shutdown time (from hours to minutes) if you are using a lot of MyISAM/Aria tables with delayed keys.

  • CHECKSUM TABLE is faster.

  • We improved the performance of character set conversions (and removed conversions when they were not really needed). Overall speed improvement is 1-5 % (according to sql-bench) but can be higher for big result sets with all characters between 0x00-0x7f.

  • MariaDB Thread pool allows MariaDB to run with 200,000+ connections and with a notable speed improvement when using many connections.

  • Lots of speed improvements when a client connects to MariaDB.

  • There are some improvements to the DBUG code to make its execution faster when debug is compiled in but not used.

  • Our use of the Aria storage engine enables faster complex queries (queries which normally use disk-based temporary tables). The Aria storage engine is used for internal temporary tables, which should give a speedup when doing complex selects. Aria is usually faster for temporary tables when compared to MyISAM because Aria caches row data in memory and normally doesn't have to write the temporary rows to disk.

  • The test suite has been extended and faster than before, even though it tests more things.

Extensions and New Features

We've added a lot ofnew features to MariaDB. If a patch or feature is useful, safe, and stable — we make every effort to include it in MariaDB. The most notable features are:

Incompatibilities

When upgrading from MySQL 5.7 to MariaDB 10.3, please take note of the following incompatibilities:

Last updated

Was this helpful?