Over the weekend we migrated one of our tables from MyISAM to
InnoDB. Generally speaking we’re pretty happy with most of our
InnoDB migrations.
InnoDB generally uses 2-3x more data on disk but the write ahead
log (WAL) buys us so much more added performance that it’s
generally worth the switch.
This migration however was a bit more problematic. Importing the
data from mysqldump as MyISAM into the new box only took about 2
hours. Converting the data to InnoDB has so far taken 24
hours and using 21G vs the original 6.1G for MyISAM.
I should also note that it’s not complete yet and it’s 3.5x
larger than our original MyISAM install.
Clearly the performance will be worse in our situation for InnoDB
because I don’t think the buffer pool efficiency will make the
write ahead logging fast enough to beat MyISAM on the same
hardware.
We’re not the only people who have …
[Read more]