MySQL Forums
Forum List  »  Optimizer & Parser

Re: MYSQL optimizer: Handling Subqueires
Posted by: Rakshit Trivedi
Date: August 19, 2009 03:33AM

OK. But then isn't it true that the optimizer is meant to choose the access plan for a query to be executed? Now this is a compile time process and should not include any type of execution of any part of the query whatsoever. then why it is doing so?

So, if it is the case as you described wherein sub-queries are compiled-planned-executed and then outer query are compiled-planned, then can this be considered as an optimization process??

Because doesn't 13 hours time to explain a query distort the whole purpose of the query optimizer? Or is it that the query ran by you was big and computational-intensive enough so as to cause such explain time and it would have caused large response times when whole query is actually executed?

Kindly guide me through the issue.

Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MYSQL optimizer: Handling Subqueires
2117
August 19, 2009 03:33AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.