How to learn of set (but forgotten) session tracing?

  • From: Branimir Petrovic <BranimirP@xxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 21 Jul 2004 11:05:07 -0400

Hypothetical situation:

DBA sets session tracing to ON then starts (very) long running 
heavy-duty batch job but "forgets" about it, say - goes home... 

Other DBA takes over to see long job running even longer.

Tracing may be set via:

        - dbms_system.set_sql_trace_in_session
                        or even via
        - alter session set events '10046....

Disregarding the fact that tracing of long running jobs will create
then continiously grow the trace file (which will be sure sign of
tracing in progress), is there a way to query Oracle and learn of 
the fact that tracing is set for some or all of existing sessions?

Please see the official ORACLE-L FAQ:
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
Archives are at
FAQ is at

Other related posts: