Tuesday April 21, 2009
MySQL Cluster Database 7: Performance Benchmark
We recently conducted a Performance Benchmark of the newly released version of MySQL Cluster database software version 7.0 using the DBT2 Benchmark. The results are very impressive.
Highlight of the results:
Note that these results were obtained using 1GB Gigabit Ethernet. We expect improved performance for high speed cluster interconnect like InfiniBand and Dolphinics interconnect solutions. Testing using these interconnects is currently underway.
Some of the KEY features of MySQL cluster 7 include "ability to add nodes and node groups online" and "Data node multithreading support" You can look at the list of new feature available in MySQL cluster 7 here.
See below for the deployment architecture details. In the case of a 2 node scenario, the data node processes were running on TWO Sun Fire x4450 system with 8 processor cores per data node. The MySQL server nodes were running a combination of Sun Fire x4450 systems and Sun Fire x4600 systems as shown in the deployment diagram below.
In the case of a 4 node scenario, FOUR x4450 system were used to deploy the Data Nodes, each data node using 8 cores. The MySQL Server nodes were running on a combination of TWO Sun Fire x4600, ONE Sun Fire x4240 and FOUR Sun Fire x4450 systems.(co-located with data node systems). Other relevant details are captured in the deployment topology diagram below.
Important Notes:
1. Each MySQL server was bound to 3 processor cores using "processor set" feature(to accommodate more MySQL Servers on the available hardware). It is observed that we get increased TPM/MySQL Server and slight decrease in the response time with 4 processor cores per MySQL server). An example: With 3 processor cores assigned for the MySQL server process, we get the TPM of 12988 for 1 Server, 20 Warehouses. With 4 processor cores, the TPM increases to 19113 with decrease in the response time from 52ms to 34ms.
2. TPM - New-order transactions per minute. It
should be noted that the each transaction comprises of about 30
queries, so average response time per query if calculated would be ~3ms. More
details on the "transaction" are available in the TPC-C specification document and DBT2 code base.
3. The MySQL 6.3 Cluster saturate with fewer number of MySQL servers. For comparison purpose, we ran the tests with equal number of MySQL servers for both MySQL Cluster 6.3 and 7.
Database Test 2 (DBT-2) : DBT2 is an open source benchmark developed by OSDL (Open Source Development Labs ). Significant updates to the benchmark were made to simplify its ability to run with a clustered database such as MySQL Cluster Carrier Grade Edition. DBT2 simulates a typical OLTP (Online Transaction Processing) application that performs transactions with around ten to twenty SQL statements per transaction within five distinct transaction types. The DBT2 benchmark can be used as a good indicator in regards to the expected performance of any application that performs fairly simple transactions and executes these transactions in a repetitive fashion.
For the benchmark results above, DBT2 and MySQL Cluster
were configured as an “in memory” database to simulate typical “real-time”
database configurations. It should be noted that performance results are being
measured as new-order transactions per minute (TPM). The changes made to the
DBT2 benchmark are documented and can be found on the SourceForge page for DBT2
downloads. It can also be downloaded from ww.iclaustron.com.
More information on MySQL Cluster
MySQL Cluster 7 Architecture and New Features
MySQL Cluster Evaluation Guide
Benchmarking Highly Scalable MySQL Clusters - A While Paper published in 2007
Posted at 10:14PM Apr 21, 2009 by Hashamkha Pathan in Sun | Comments[3]
Helo sun webmaster. Realy good information. Thanks
Posted by Suchmaschine on April 21, 2009 at 10:27 PM IST #
Hi,
I wants to discuss with you regarding an opening for Certified MySQL.
Kindly contact..
Regards,
Thiyagarajan PR
Posted by Thiyagarajan PR on April 30, 2009 at 05:45 PM IST #
prt@careeroneindia.com
Posted by Thiyagarajan PR on April 30, 2009 at 05:45 PM IST #