|
|||||||||||
|
Re: Cluster performance with data node down
From: Giulio Ferro <auryn(at)zirakzigil.org>
Date: Tue Aug 21 2007 - 05:58:56 EDT
Again, from original message:
Here's the setup:
Under normal circumstances and after the first query, the performance
is acceptable : standard select queries in my test db take about .3 / .4
sec
The problems start when I take a data node down (gracefully, with the command "<nodeid> stop"). When I do that the time to complete the same queries rises to an unacceptable 12 seconds and stays that way. Then I start the node again and performances go back to what they were before. The query is a simple select on a single table. The tables contains about 330.000 entries. The queries executed are like this: select * from <tablename> where <varchar_field> = '....'; select * from <tablename> where <varchar_field> like '%....%'; <varchar_field> is a varchar(255) and is also an index. explain output: +----+-------------+----------------+------+---------------+------+---------+------+--------+-----------------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+----------------+------+---------------+------+---------+------+--------+-----------------------------------+ | 1 | SIMPLE || NULL | 330122 | Using where with pushed condition | +----+-------------+----------------+------+---------------+------+---------+------+--------+-----------------------------------+1 row in set (0.01 sec) I hope it helps. -- MySQL Cluster Mailing List For list archives: http://lists.mysql.com/cluster To unsubscribe: http://lists.mysql.com/cluster?unsub=lists@pantek.comReceived on Tue Aug 21 05:59:17 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:15:02 EDT |
||||||||||
|
|||||||||||