1

I have created a MYSQL cluster using network speed 100-megabit Ethernet

  • 2 Data Node (3G RAM)
  • 1 Management Node (3G RAM)
  • 2 SQL Node (3G RAM)
  • 2 HAProxy with heartbeat cluster to balance between SQL Nodes

and I have created a separated MYSQL server (3G RAM)

I want to compare between this two MYSQLs and prove that MYSQL cluster is the best

I searched on the Internet for a big database and found (4 million row) link and exported on the two MySQLs

I was surprised when I started testing quires the MYSQL server speed than MYSQL cluster, is this normal? and how to compare?

Steve
  • 255
  • 2
  • 11

1 Answers1

1

I had tested MySQL Cluster some time ago.
MySQL Cluster is only faster if you straight work with indexes.
The data is distributed between the Nodes. Each Node has an a Hash of all Indexes.
So each Node knows which Nodes have which Data.
If you don't work straight with Indexes the Cluster Nodes must communicate many times to determine the Result of your Query.
My result of testing MySQL Cluster: If your Application (or Test Script) is not Designed for MySQL Cluster you often had a worse performance than a single powerful MySQL Server.

CookieCrash
  • 96
  • 1
  • 8