MySQL: how to convert many MyISAM tables to InnoDB in a production database?

Posted by Continuation on Server Fault See other posts from Server Fault or by Continuation
Published on 2011-02-27T11:46:11Z Indexed on 2011/02/27 15:26 UTC
Read the original article Hit count: 182

Filed under:
|
|
|
|

We have a production database that is made up entirely of MyISAM tables. We are considering converting them to InnoDB to gain better concurrency & reliability.

  1. Can I just alter the myISAM tables to InnoDB without shutting down MySQL? What are the recommend procedures here?

  2. How long will such a conversion take? All the tables have a total size of about 700MB

  3. There are quite a large number of tables. Is there any way to apply ALTER TABLE to all the MyISAM tables at once instead of doing it one by one?

  4. Any pitfalls I need to be aware of?

Thank you

© Server Fault or respective owner

Related posts about mysql

Related posts about innodb