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
14250
September 24, 2006 11:40PM
4767
September 25, 2006 03:00AM
4487
September 25, 2006 08:09AM
Re: Optimizing left outer join query
3744
September 25, 2006 09:55PM
3586
September 26, 2006 03:35AM
5080
September 26, 2006 04:06AM
3139
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.