Would switching to InnoDB from MyISAM improve performance of comments table?

MyISAM locks the whole page for writes and is not ACID compliant, while InnoDB sticks to locking rows as you point out, and is ACID compliant.

This makes it sturdier when you’ve a lot of writes, as in faster and less prone to data corruption.

It’s slower for reads in my experience, though it handles concurrent connections better.

It also clutters the catalog. (I had a large DB one day which I switched to InnoDB from MyISAM, and the catalog ballooned by 2GB, or the size of my DB, for reasons I never understood, though I’m suspecting it had to do with temporary data such as index creation and the like, which didn’t get flushed properly.)

Anyway… With your current load, InnoDB is an option, as is memcached alongside an object cache.

Leave a Comment