In this post I want to show three things:
- How many single row SELECTs per second (on the PRIMARY KEY, no batching) you can do on on a Cluster with two data nodes
- Show how MySQL Cluster scales with threads and mysql servers
- How ndb_cluster_connection_pool affects performance
Next post will be what happens to INSERTs, and then
UPDATEs.
Setup
- two data nodes
- one to four mysql servers
- interconnected with Gig-E (single NIC)
deployed on six computers (of varying quality, see below).
www.severalnines.com/bencher was co-located with
each mysql servers to drive the load. The reads were a PK SELECT
like:
SELECT data1,data2 FROM t1 WHERE id=[random];
data1 and data2 are each 256B, so in total 512B was read. …
[Read more]