When we’re looking at benchmarks we typically run some stable workload and we run it in isolation – nothing else is happening on the system. This is not however how things happen in real world when we have significant variance in the load and many things can be happening concurrently.
It is very typical to hear complains about MySQL interactive
performance – serving simple standard web traffic is drastically
impacted when some heavy queries are ran in background or backup
is done with mysqldump – a lot more than you
would expect from simple resource competition. I finally found
some time to look further in this problem and see what can be
done to remedy it.
We designed the benchmark the following way – there is a small table (200MB) which completely fits in the Innodb Buffer Pool (512MB). We also have larger table 4GB which does not fit in the buffer pool. We’re running uniform sysbench OLTP on the …
[Read more]