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 question

Re: tkprof question

From: Larry Lutz <larry.j.lutz_at_gmail.com>
Date: Fri, 19 May 2006 14:30:49 -0400
Message-ID: <abc34f0e0605191130o75c5d2d4w656f449cf08b2b77@mail.gmail.com>


I think only "level 12 traces" produce wait events output.

On 5/19/06, Nirmalya Das <nirmalya_at_hln.com> wrote:
>
> I want to see the "wait events" along with my cost for a particular query.
>
> My environment:
>
> Sun Solaris (SUNOS 5.9)
> Oracle 9.2.0.7
>
> TIMED_STATISTICS is not set in the parameter file....
>
> So, I am doing
>
> SQL> alter session set sql_trace=true;
> SQL> alter session set timed_statistics=true;
> SQL> "running the SQL here"
>
> After getting the trace:
>
> $ tkprof <trace file> <output file> explain=... sys=no waits=yes
>
> But the "output file" never produces the "wait events"
>
> Any ideas?
>
> TIA
>
> Nirmalya
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

-- 
"  ,--o
-\\_<_
(*)/-'(*)

--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 19 2006 - 13:30:49 CDT

Original text of this message

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