1

We have a moderately busy WordPress blog that runs currently on MySQL 5.5, and I'm wondering if I would experience any significant performance upgrades by moving it to MySQL 5.6? Anyone know?

I'd also appreciate any thoughts on using MyISAM over InnoDB for the engine. Any benefits or drawbacks with respect to WordPress?

2

Let's do a comparison

MyISAM Caching vs InnoDB Caching

MyISAM only caches index pages from the .MYI files into a global buffer called the MyISAM keycache (sized by key_buffer_size). MyISAM Data does not cache data global. It only does so per DB Session (sized by read_buffer_size and read_rnd_buffer_size)

InnoDB has a very elaborate framework for managing data and index pages cached in memory (Pictorial Representation of InnoDB by Percona CTO Vadim Tkachenko).

ldkknc

The memory side of the framework caches data and index pages in the InnoDB Buffer Pool (sized by innodb_buffer_pool_size).

See my earlier posts on this

Table Write Behavior

MyISAM performs a full table lock with each DDL and and DML statement. InnoDB allows multiple transactions to access and update an InnoDB table. To increase write throughput for many transactions, you would need to increase the log buffer size of InnoDB (sized by innodb_log_buffer_size)

Read Speed

There are rare occasions where MyISAM can be faster to read than InnoDB. Such an occasion would be a high read/low write. For high read/high write systems, my money would be on InnoDB. Please read my answer to the May 03, 2012 post Which is faster, InnoDB or MyISAM?

CPU Utilization

Only InnoDB can take advantage of tuning for more CPU engagement

MySQL 5.5 vs MySQL 5.6

While I could write many things about this, you are better off reading What's New in MySQL 5.6 to see those differences. You will even better off reading What Is New in MySQL 5.7 and going to MySQL 5.7 instead.

  • Also, InnoDB is more crash-safe. – Rick James Jul 29 '16 at 21:00
  • Thank you for this great response, I really appreciate this. – Michael Aug 12 '16 at 19:45
  • the link to whats new redirects to the main dev page now – qwertzman Mar 6 '17 at 19:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.