This is not freshest news ever but I simply have not yet had a time to comment on it.
I already wrote about interesting benchmarks Tweakers.net have done for MySQL and PostgreSQL with different CPUs. I was in contact with Tweakers.net team to see if they miss something obvious in MySQL settings as well as to let them know the fix is now out for Innodb scalability bug and they can rerun the test to see if there are any difference.
Same as in previous test PostgreSQL is winner with large margin especially when it comes to higher concurrency. The results for MySQL 5.0.20a vs 5.0.32bk are also extremely interesting:
1) For single CPU 5.0.32 is actually slower on high levels of concurrency. Might be this is overhead of increased amount of mutexes comes into the play may be something else – version gap is too large to only map it to Innodb scalability patch.
2) Speedup for 5.0.32 for large number of CPUs (2x quad line) is significant – 350 tps vs 100 tps for 5.0.20. Great job !
3) The peak performance for 5.0.32 is also much larger than for 5.0.20 – some 630 vs 540 tps.
4) The bad news are – we still have massive scalability drop with increasing concurrency – going from 10 to 20 concurrent connections drops performance from about 620 to 450 TPS which can be nasty surprise. It may be possible to improve it with innodb concurrency settings though – I do not know, this requires some extra analyzes.
As a Summary: By looking at this benchmark (it can be and will be different in other benchmarks) we can see MySQL scalability problem with high number of CPUs and high concurrency is elevated but it is far from being completely eliminated at this point.
Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.
Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.