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: How to re-trace a session

RE: How to re-trace a session

From: Xie, Tom <TXie_at_taylorpub.com>
Date: Tue, 08 Oct 2002 12:28:54 -0800
Message-ID: <F001.004E39F3.20021008122854@fatcity.com>


I made a mistake. In fact, I can trace other sessions. But I can't re-trace the session of which trace file had been removed.

Is there any way that I can re-trace the session without restarting the session?

Tom

-----Original Message-----
Sent: Tuesday, October 08, 2002 2:14 PM
To: Multiple recipients of list ORACLE-L

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).
--

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 - 15:28:54 CDT

Original text of this message

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