Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to learn of set (but forgotten) session tracing?
Branimir Petrovic wrote:
>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?
>
>Branimir
>
>
Branimir,
Oracle 9.x contains an X$ table named X$TRACE_EVENTS, that might be something worth a glance.
HTH Stephane Faroult
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Jul 21 2004 - 23:00:29 CDT