It been sometime since we benchmarked MySQL/Galera with sysbench,
using it mostly for testing. Our recent visit to Percona
Performance Conference showed that sysbench is probably most
widely used tool for MySQL benchmarking in the community and
besides it is the only benchmark I know that correctly measures
response times. So I just gave it a shot with our 0.6
release.
I ran OLTP test on 1-4 large EC2 instances. At first I tried 100K
row table and it was good except that the deadlock rate was too
high to my taste:
nodes users trx/s deadlks 95%lat -------------------------------------- 4 40 840 28.13 0.099 4 60 866 86.34 0.150 4 80 781 194.8 0.240
Note how deadlock rate escalates with the number of concurrent connections. But what is 100K rows by modern standards? Kids play. So I tried 1M rows. And it just shows that Galera cluster is cut for big tables:
…[Read more]