MySQL Forums
Forum List  »  Performance

Re: Adding Order by slows query...
Posted by: Harrison Fisk
Date: October 14, 2004 09:53AM

Hi,

If you gave the full EXPLAIN output and the table structures it would be very helpful. Most likely you are going to have to create some combined indexes over the WHERE conditions and the ORDER BY columns. Something like ZipListMatrix INDEX(ZipID, ListID), and possibly something like UserList(UserInfoId, ListID) as well.

Regards,

Harrison

Options: ReplyQuote


Subject
Views
Written By
Posted
5355
October 14, 2004 09:43AM
Re: Adding Order by slows query...
2655
October 14, 2004 09:53AM
2792
October 14, 2004 10:16AM
2722
October 15, 2004 08:37AM


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.