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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: tkprof & explain question

RE: tkprof & explain question

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Sat, 21 May 2005 14:08:59 +0200
Message-ID: <7F0C000A3ABA6241A10C9ABF37EEB46D0A4A30@MSXVS01.trivadis.com>


Jaffar

>However, my question is, when I am using
>tkprof with explain parameter, if there are any insert,update or
>delete statements in my trace file, are they going execute or just
>produces explain plan wihtout executing them?

TKPROF executes an EXPLAIN PLAN statement, not the DDL statement.

Be careful that EXPLAIN PLAN can return a "wrong" execution plan, i.e. = not the execution plan that was executed and generated all other = statistics the you see in the TKPROF output.

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Sat May 21 2005 - 12:49:23 CDT

Original text of this message

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