MySQL Forums
Forum List  »  Optimizer & Parser

Re: Performance impact of filtering in ON vs WHERE clause
Posted by: Apachez
Date: May 02, 2006 01:15PM

The USING was just an example which shows you how joins are being handled by the server. Any filtering should be done in the WHERE part, the join statement only tells the server which columns relate to each other.

However the optimizer will most likely try to fix you badly written "filter inside join statement" so it will be a proper "join statement" along with a "filtering in the WHERE part".

An EXPLAIN SELECT should show you what happends...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Performance impact of filtering in ON vs WHERE clause
4486
May 02, 2006 01:15PM


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.