|
|||||||||||
|
Re: the IN list optimizer speed [Re: How can I disable equality propagation in MySQL 5.0]
From: Sergey Petrunia <spetrunia(at)gmail.com>
Date: Mon Jul 30 2007 - 18:28:53 EDT
On 7/20/07, Martin Friebe <martin@hybyte.com> wrote:
I think the right way to resolve this is to switch from depth-first index dives to a sort of breadth-first traversal. The first step will be to analyze the root index page, find the fraction of leaf pages that belong to all pages. Then, if we think we need a more precise estimate, we could analyze the children pages, then grandchildren and so forth. This approach will allow to control the amount of time/disk IO we spend in range analyzer.
BR
-- Sergey Petrunia, Software Developer MySQL AB, www.mysql.com Office: N/A Blog: http://s.petrunia.net/blog -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals?unsub=lists@pantek.comReceived on Mon Jul 30 18:29:13 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:06:23 EDT |
||||||||||
|
|||||||||||