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

Home -> Community -> Usenet -> c.d.o.misc -> REPOST: Re: Switching trace files

REPOST: Re: Switching trace files

From: Stephen Ashmore <sashmore_at_neonramp.com>
Date: Sat, 26 Jan 2002 05:43:01 -0600
Message-ID: <6$--$%%%_$_-%$$$%$@news.noc.cabal.int>


The trace file is creating using the SPID of the session you are tracing. You need to logoff and backon to get a new SPID thus you will get a new trace file.
On really busy systems these files can be reused (rare). If you delete a file while the session is still connected (ON UNIX) it wil continue to use the resources it obtained and even continue to use more but you will not be able to see it.

Hope this Helps.

Stephen C. Ashmore
Brainbench MVP for Oracle Administration http://www.brainbench.com

"Brian Tkatch" <SPAMBLOCK.Maxwell_Smart_at_ThePentagon.com.SPAMBLOCK> wrote in message news:3c51b6e2.1513268329_at_news.alt.net...
> Is there a way to force a switch in the trace files.
>
> Case in point.
>
> ALTER SESSION SET SQL_TRACE=TRUE;
>
> SELECT Moo FROM Cow;
>
> ALTER SESSION SET SQL_TRACE=FALSE;
>
> I check udump, and I have a nice trace file. I then delete the
> tracefile because I no longer want it.
>
> I then do another trace, and nothing appears in udump. If I bounce the
> (test) server all is back to normal.
>
> max_dump_file_size is set to UNLIMITED,
>
> Do I need to switch the files?
>
> Brian

This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Sat Jan 26 2002 - 05:43:01 CST

Original text of this message

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