MySQL Forums
Forum List  »  Optimizer & Parser

Re: ORDER BY + LIMIT
Posted by: Toa Sty
Date: November 12, 2006 08:27AM

Hi Markus,

I don't think there's way to do it. If I need large limits like this then if possible I tend to restructure such that I can do "WHERE someID BETWEEN 500000 and 500010" which will be very quick.

It is a logically different thing to do, but sometimes you can rework your db/apps to support it...

Toasty

-----------------------------------------
email: 'toasty'*3 at gmail

Options: ReplyQuote


Subject
Views
Written By
Posted
4677
November 12, 2006 04:45AM
Re: ORDER BY + LIMIT
3284
November 12, 2006 08:27AM
3100
November 12, 2006 12:09PM
30535
November 13, 2006 04:40AM
3629
January 30, 2007 12:06PM


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.