MySQL Forums
Forum List  »  Partitioning

Re: Optimizations on ORDER BY with partitions
Posted by: Mikael Ronström
Date: March 21, 2006 04:22PM

James Porter wrote:
> If I were to use horizontal partitioning on a
> table and had a catch all for the top and bottom
> end, would an ORDER BY DESC and/or an ORDER BY ASC
> be optimized so that only the catch all partition
> is used until the LIMIT statement is filled?
>

No special optimisation of ORDER BY DESC/ASC currently. Also
there is currently no catch all partitions. However an interesting
idea to take into account.

> At either rate, can't wait to test partitioning
> out!

Great.

Rgrds Mikael

Mikael Ronstrom
Senior Software Architect, MySQL AB
My blog: http://mikaelronstrom.blogspot.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Optimizations on ORDER BY with partitions
2431
March 21, 2006 04:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.