MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizing left outer join query
Posted by: KimSeong Loh
Date: September 25, 2006 09:55PM

That explain the ALL, but I would have expect an eq_ref instead of ref in the 2nd table, since mfg_no is a unique key.

And, you should have used p.pid is null instead of p.mfg_no is null since mfg_no column allows null.

Options: ReplyQuote


Subject
Views
Written By
Posted
13291
September 24, 2006 11:40PM
4381
September 25, 2006 03:00AM
4028
September 25, 2006 08:09AM
Re: Optimizing left outer join query
3328
September 25, 2006 09:55PM
3254
September 26, 2006 03:35AM
4608
September 26, 2006 04:06AM
2742
September 26, 2006 06:31PM


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.