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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Is SET_SQL_TRACE_IN_SESSION one shot?

Re: Is SET_SQL_TRACE_IN_SESSION one shot?

From: Michael Bialik <michael_bialik_at_my-deja.com>
Date: Wed, 18 Oct 2000 20:00:20 GMT
Message-ID: <8skvgf$dqs$1@nnrp1.deja.com>

Hi.

 I think that your problem is a bit different:   Actually you are turning the TRACE on and OFF, but the results are   written to the same trace file ( it's name is based usually on   sid/pid ).
  Restarting the instance forces user to start a new session and as a   result you get another trace file.
  Copy your trace file after switching the trace off to another   location ( or rename it ) and start the trace again.

 HTH. Michael.

In article <8skrhh$a51$1_at_nnrp1.deja.com>,   Vaughan Jackson <vaughan_jackson_at_my-deja.com> wrote:
> Hi,
>
> I have been using dbms_system.set_sql_trace_in_session to turn tracing
> on and off for other user sessions. However, it seems that I can
> only turn these traces on and off ONCE. If I want to do it again,
> I have to restart the Oracle database.
>
> Has anyone else encountered this problem? Is there a workaround?
>
> Thanks,
>
> Vaughan Jackson.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Oct 18 2000 - 15:00:20 CDT

Original text of this message

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