Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql trace - forward attribution
Btw, reading through a 10046/12 trace from instance startup & database
opening can reveal really lots of interesting information.... :)
Tanel.
> Thanks, Raj, but I don't think so. The whole reason
> behind enabling a db-wide trace was to capture
> everything sql trace is instrumented to capture. As
> you know sql_trace is a static parameter, so I got
> everything "from the begining", including:
>
> PARSING IN CURSOR #1
> ALTER DATABASE MOUNT
> ..
> PARSING IN CURSOR #1
> ALTER DATABASE OPEN
>
> PARSING IN CURSOR #2
> create table bootstrap$ ( line#
>
> PARSING IN CURSOR #2
> CREATE ROLLBACK SEGMENT SYSTEM
>
> .. but not the cursor #0
>
> (Interestingly "alter database mount" went to one
> trace file, while "alter database open" and the rest
> to another - so to mount a DB Oracle spawns a
> different process on your behalf and than passes
> control back to your foreground to open it?)
>
>
> --- "Jamadagni, Rajendra"
> <Rajendra.Jamadagni_at_espn.com> wrote: > you may not be
> seeing parse etc entries for cursor
> > #0 merely because maybe by design, cursor#0 gets
> > invoked before trace gets activated. This way, you
> > will never get cursor #0 info.
> >
> > You can tell, I am guessing but to get similar
> > experience, start trace in an already active session
> > and you'll see.
> > Raj
> >
> --------------------------------------------------------------------------
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: tanel.poder.003_at_mail.ee Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jan 06 2004 - 13:29:25 CST
![]() |
![]() |