MySQL Forums
Forum List  »  Performance

Re: Help needed on tuning query with join
Posted by: Mike Hillyer
Date: October 13, 2004 07:26AM

Sometimes it is better to do the final sort in client code if you do not have a lot of rows. The reason for the filesort is that your criteria for the select is in the b table while your sorting is done on the a table.

Mike Hillyer, Technical Writer
MySQL AB, www.mysql.com
Office: +1 403-380-6535

Blog: http://www.openwin.org/mike

"The Open Source movement has become a major force across the software industry, and MySQL is the world's most popular open source database."
--Fortune Magazine

Options: ReplyQuote


Subject
Views
Written By
Posted
6273
October 12, 2004 02:42PM
Re: Help needed on tuning query with join
2981
October 13, 2004 07:26AM


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.