Question

If Aria storage engine (previously called Maria) is the "new" MyISAM, which supports transaction and automatic crash recovery:

  • Why still use MyISAM ?
  • Should changing storage engine from MyISAM to Aria be a problem? (lose index or something)
Was it helpful?

Solution

It is very interesting this question would come up because a similar question was asked back in January 2011 ( When is the right time to use MariaDB instead of MySQL, and Why? ). Giving thought to that 16-month-old question and how I answered it in April 2011, here are my answers to your immediate questions:

Why still using MyISAM ?

MyISAM still has features that are unique and useful for small datasets and read slaves in HA setups

  • Deadlocking is impossible in low-write, heavy-read environments
  • Converting to Fixed Row Format creates bigger tables but increases query performance in terms of

  • Full Faith and Confidence

    • InnoDB has become the de facto standard of Transactional Storage Engines for MySQL. XtraDB is being accepted and used as well among the Percona Server community. Full faith and confidence seems to rest with InnoDB over XtraDB as present. This could easily change over time as more recognize XtraDB's superior features.
    • The same equally applies to MyISAM vs Aria. Full faith and confidence currently rests with MyISAM. An example of those who do not have Full faith and confidence are Drizzle users (Drizzle have abandoned MyISAM as an Optional Storage Engine and relegated it to temp table use only)

To changes storage engine from MyISAM to Maria should it be a problem? (lose index or something)

If you mysqldump the data and the schema into two separate files, you can always import data into table with either the MyISAM or Aria storage engines. Just keep around the data only mysqldump to be sure.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top