MySQL Forums
Forum List  »  Optimizer & Parser

Re: Performance impact of filtering in ON vs WHERE clause
Posted by: Apachez
Date: April 28, 2006 12:26PM

The proper use is to only have which columns are equal in the ON part and filtering in the WHERE part.

Any logic for the join will make it to slow down.

So in your case 2) will always be slower than 1).

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Performance impact of filtering in ON vs WHERE clause
5497
April 28, 2006 12:26PM


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.