|
|||||||||||
|
MySQL Cluster performance question
From: Al <broohaha(at)gmail.com>
Date: Thu Aug 09 2007 - 11:09:28 EDT
Recently we decided to test out MySQL Cluster 5.1.19. We have 1 mgm node, 2 data nodes, and 1 sql node with number of replicas set to 2. The servers are connected via Gigabit Ethernet. We have two tables past30_ndb_disk and past30_MYISAM that contain the same data, but the former utilizes the cluster on-disk while the latter is saved on the sql node as a MyISAM table. The tables are 10,000,000 rows big taking up a little over 1GB of space.
We also have ndb_index_stat_enable = 0
I ran the same query on both tables and got the following:
mysql> SELECT DISTINCT gv_symbol FROM `past30_ndb_disk` FORCE INDEX
mysql> SELECT DISTINCT gv_symbol FROM `past30_MYISAM` FORCE INDEX
I was not expecting a difference this drastic. Do you have any tips on how to get a better response time? -Al -- MySQL Cluster Mailing List For list archives: http://lists.mysql.com/cluster To unsubscribe: http://lists.mysql.com/cluster?unsub=lists@pantek.comReceived on Thu Aug 9 11:09:50 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:30:38 EDT |
||||||||||
|
|||||||||||