Re: Explain Plan

From: Niall Litchfield <>
Date: Fri, 4 Feb 2005 21:03:47 -0000
Message-ID: <4203e324$0$19158$>

<> wrote in message
> Actually you are wrong.  We are using Locally Managed.  And again,
> there is nothing wrong with the explain plan I displayed.
> What I am asking for is how or where I can find info on understand that
> hunk of junk.
Sybrand was correct about the reference manual - the performance tuning guide does tell you about access methods, types of join etc. is the reference, you'll see it tells you about access paths and join methods, about explain plan and about tkprof. Its the place to start.
In *general* you read inside out with the results [Quoted] of the inner operation providing the input rowset for the outer operation. If you are running TKPROF with the explain= parameter don't, the plans it gives are those that would be executed if the statement ran now in the environment as it is now for the user you use to explain it. The only way to get the plan that actually was executed is to use the STAT lines (which is what tkprof does if you don't use explain= ) in the trace file or to query v$sql_plan if you have that view in the version you are running.

Niall Litchfield
Oracle DBA
Received on Fri Feb 04 2005 - 22:03:47 CET

Original text of this message