MySQL Forums
Forum List  »  Performance

Re: Adding Order by slows query...
Posted by: Bruce Duncan
Date: October 15, 2004 08:37AM

GOT IT!
It didn't have anything to do with the ORDER BY!

I changed:
and ZipListMatrix.ZipID = 23112
to
and ZipListMatrix.ZipID = "23112"

and the query was coming back in subseconds!! I forgot that ZIPID was a character field.


-bd

Options: ReplyQuote


Subject
Views
Written By
Posted
5574
October 14, 2004 09:43AM
2781
October 14, 2004 09:53AM
2929
October 14, 2004 10:16AM
Re: Adding Order by slows query...
2853
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.