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: No Explain Plans from TKPROF

Re: No Explain Plans from TKPROF

From: Daniel Fink <danielwfink_at_yahoo.com>
Date: 18 Aug 2005 10:51:37 -0700
Message-ID: <1124387497.361788.107440@g14g2000cwa.googlegroups.com>


You need to make sure that all cursors are closed before turning off tracing. STAT lines, which contain the execution plan are only emitted when the cursor is closed. If you are using sql*plus, exiting without turning off tracing will cause the cursors to be closed. Truning off tracing will not automatically close any of the cursors.

If you don't always see timing statistics, is it possible the query is parallelized? If so, the information will not be written to the user process. Received on Thu Aug 18 2005 - 12:51:37 CDT

Original text of this message

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