Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to re-trace a session
Jared, Tim and Anjo,
Thanks for your help.
In fact, I stopped the tracing first, then cp the trace file to other
directory and rm it.
Also I can't trace other sessions now.
Tom
-----Original Message-----
Sent: Tuesday, October 08, 2002 12:41 PM
To: ORACLE-L_at_fatcity.com
Cc: TXie_at_taylorpub.com
Importance: High
Tom,
The problem is that you moved the file.
Oracle will use the same file name, when you stop/restart tracing, and in fact leaves the file handle open until the session disconnects.
Moving the file disables the output.
Jared
"Xie, Tom" <TXie_at_taylorpub.com>
Sent by: root_at_fatcity.com
10/08/2002 11:03 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: How to re-trace a session
Hello,
I successfully traced a long running session by using dbms_system.set_ev procedure, and moved the trace file to somewhere else. However, when I used the same command to re-trace the same session, I can't see the trace file again. There was no error message. I tried to use oradebug and dbms_system.set_sql_trace_in_session to trace the same session. No matter what method I used, I still can't see the trace file. Then, I tried to trace other sessions using all available methods, but all failed. Even though there was no error message, I can't see trace files.
Can someone tell me what is wrong and how can I re-enable the sql trace?
Tom
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Xie, Tom
INET: TXie_at_taylorpub.com
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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Xie, Tom
INET: TXie_at_taylorpub.com
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 Oct 08 2002 - 14:14:06 CDT
![]() |
![]() |