|
|||||||||||
|
RE: query performance slow
From: Bob Pisani <bpisani(at)schonfeld.com>
Date: Wed Jul 25 2007 - 12:02:54 EDT
mysql> show variables like '%push%'; +---------------------------+-------+ | Variable_name | Value | +---------------------------+-------+ | engine_condition_pushdown | ON | +---------------------------+-------+ 1 row in set (0.01 sec) mysql>
-----Original Message-----
Bob, did you try to use engine_condition_pushdown option? http://dev.mysql.com/doc/refman/5.1/en/explain.html Regards,
Anatoly.
> > I know the first query is using the primary key, and it would seem > that the second query is supposed to use the ordered index created > with the primary hash key. Ndb_desc shows: > .... > -- Indexes -- > PRIMARY KEY(ORDER_ID, ORDER_TIME) - UniqueHashIndex > PRIMARY(ORDER_TIME, ORDER_ID) - OrderedIndex > > The question is am I missing something? When I've loaded a few more > million rows in, the second query practically never finishes. I would > expect that a range query would hit the ordered index and be somewhat performant. > Thoughts? > > Thanks, > Bob Pisani > > > > This communication is for informational purposes only. It is not > intended as an offer or solicitation or as an official confirmation. > Market prices and other information are not guaranteed as to > completeness or accuracy and are subject to change without notice. > Schonfeld Group reserves the right to monitor and review the content > of all messages sent to or from this e-mail address. > > This communication is for informational purposes only. It is not intended as an offer or solicitation or as an official confirmation. Market prices and other information are not guaranteed as to completeness or accuracy and are subject to change without notice. Schonfeld Group reserves the right to monitor and review the content of all messages sent to or from this e-mail address. -- MySQL Cluster Mailing List For list archives: http://lists.mysql.com/cluster To unsubscribe: http://lists.mysql.com/cluster?unsub=lists@pantek.comReceived on Wed Jul 25 12:04:42 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:30:33 EDT |
||||||||||
|
|||||||||||