Late one evening, I was staring at one of our large MySQL
installations and noticed the database was hovering around 7-10
run queue length (48 cores, ~500 gigs memory, fusionIO cards). I
had been scratching my head on how to get more throughput from
the database. This blog records the changes I made to tune
performance in order to achieve a 300% better throughput in
MySQL. I tested my theories on MySQL 5.6/Maria 10.1. While with
5.7 DBAs would turn to performance_schema for the
supporting metrics, I hope that you find the process interesting
nevertheless.
View from an Oracle RDBMS DBA…
For context, I came to MySQL from a background as an Oracle RDBMS
DBA, and this informs my expectations. For this exercise, unlike
with Oracle RDBMS, I had no access to view wait events
so that I could see where my database was struggling. At least,
no access in MySQL 5.6/Maria 10.1 without taking a performance
hit by using …
[Read more]