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: problem consistently getting explain plan with 10046 trace

Re: problem consistently getting explain plan with 10046 trace

From: rjamya <rjamya_at_gmail.com>
Date: Fri, 4 Aug 2006 11:26:11 -0400
Message-ID: <9177895d0608040826k649f568fu444be2dd51f9cf9c@mail.gmail.com>


maybe before you do context off, just do "select 1 from dual;"

the plans are dumped to trace file after the cursor is closed, which is what happens when you exit the session. If you don't want to, just select something from dual.

Raj

On 8/4/06, ryan_gaffuri_at_comcast.net <ryan_gaffuri_at_comcast.net> wrote:
>
>
> We find that we get the plan more often if we do a level 8 and if we exit
> the session the session before running tkprof.
>

-- 
----------------------------------------------
Got RAC?
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 04 2006 - 10:26:11 CDT

Original text of this message

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