MySQL Forums :: Optimizer & Parser :: Optimizing left outer join query


Advanced Search

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
Optimizing left outer join query 12908 Muhammad Imran Khalid 09/24/2006 11:40PM
Re: Optimizing left outer join query 4282 Toa Sty 09/25/2006 03:00AM
Re: Optimizing left outer join query 3724 Muhammad Imran Khalid 09/25/2006 04:54AM
Re: Optimizing left outer join query 3843 Toa Sty 09/25/2006 08:09AM
Re: Optimizing left outer join query 3255 KimSeong Loh 09/25/2006 09:55PM
Re: Optimizing left outer join query 3186 Toa Sty 09/26/2006 03:35AM
Re: Optimizing left outer join query 2822 Muhammad Imran Khalid 09/26/2006 03:46AM
Re: Optimizing left outer join query 4517 Toa Sty 09/26/2006 04:06AM
Re: Optimizing left outer join query 2688 KimSeong Loh 09/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.