MySQL Forums
Forum List  »  Performance

Re: How to improve a view with left join?
Posted by: Benny Lam
Date: March 14, 2011 10:10PM

Hi James,

Thanks for your advice.

I've have removed the LEFT JOIN and use SELECT FROM two tables with matching fields. I also verified the output,which were same as the original LEFT JOIN SQL.
I also SELECT only those fields required instead of *.

The performance of the new SQL is much improved.

Thanks for your advice.
Benny

Options: ReplyQuote


Subject
Views
Written By
Posted
2252
March 11, 2011 11:08AM
Re: How to improve a view with left join?
700
March 14, 2011 10:10PM


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.