Re: Intermediate Query Results
Posted by:
Rick James
Date: September 13, 2014 09:23PM
> but the requirement is to find all the plans that mysql has considered before selecting the best one
The optimizer takes various shortcuts. It starts with a huge tree of possible execution plans, but rapidly tosses large subtrees. (Without doing such, the optimization might take longer than executing the query!)
In newer versions of MySQL you can get more information via
EXPLAIN FORMAT=JSON SELECT ...
> Is it possible to access the intermediate results generated by mysql during execution of a query??
Probably nothing close to what you want.
Subject
Views
Written By
Posted
3373
September 12, 2014 08:37AM
Re: Intermediate Query Results
1615
September 13, 2014 09:23PM
1628
September 15, 2014 05:42AM
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.