Preamble: On performance, workload and
scalability:
MySQL has always been focused on OLTP workloads. In fact, both
Percona Server and MySQL 5.5.7rc have numerous performance
improvements which benefit workloads that have high concurrency.
Typical OLTP workloads feature numerous clients (perhaps hundreds
or thousands) each reading and writing small chunks of data. The
recent improvements to MySQL make it scale better for this
workload when more resources (such as additional CPUs) are added.
By scaling better I mean that it is able to take advantage
of all available resources in order to handle the workload. One
reason that it works best for this workload is that a single
query executes in a single thread. MySQL never takes advantage of
more than a single CPU when aggregating data and fetching rows
from the buffer pool, with respect to a single query, but it can
run many queries at once.
There are …
[Read more]