Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Tkprof output question

Re: Tkprof output question

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Thu, 25 Nov 2004 22:24:03 -0000
Message-ID: <41a65b7e$0$2950$cc9e4d1f@news-text.dial.pipex.com>

"wagen" <wagen123_at_yahoo.com> wrote in message news:c83c8fbf.0411250847.5183efcf_at_posting.google.com...
> Use explain plan to determine the execution plan.

I've alluded to this in my other answer.

explain plan (which is what explain= does) determines what the execution plan *would be* now. This can be, and sometimes is, different from the actual plan that the particular process being traced used. There are of course a variety of reasons for this, stats might have changed - the objects involved might have changed, the statement might have aged out and is being reparsed with different bind variables than the original, session state might be different and so on. The bottom line though is that there is only one place in which the *actual* execution plan is recorded and that is a trace file.

-- 
Niall Litchfield
Oracle DBA
http://www.niall.litchfield.dial.pipex.com 
Received on Thu Nov 25 2004 - 16:24:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US