MySQL Forums
Forum List  »  Performance

Re: Slow query if using arithmetic (+1) in Where Clause
Posted by: KimSeong Loh
Date: December 31, 2005 07:53PM

Maybe you want to post the result of the EXPLAIN.

My guess is that the extra condition made it more restrictive, so may need to read more rows to get the first 250 rows in the result. Tests without LIMIT may gives you a fairer comparison if the LIMIT restricts the results of the SELECT based on your data.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Slow query if using arithmetic (+1) in Where Clause
1414
December 31, 2005 07:53PM


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.