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

Home -> Community -> Usenet -> c.d.o.server -> Re: tracing someone else's session

Re: tracing someone else's session

From: John Durst <jdurst_at_sky.net>
Date: Tue, 29 Sep 1998 23:05:50 -0500
Message-ID: <3611AE1E.D7424072@sky.net>


Get the session id (SID) and serial number (SERIAL#) from v$session and then use the following command:

execute sys.dbms_system.set_sql_trace_in_session(<SID>,<SERIAL#>,TRUE);

Graham Thornton wrote:

> Having problems with an off-the-shelf software package that runs on top
> of Oracle - it's taking forever to do anything.
>
> From the software package itself there is no way to get to a SQL prompt,
> so I was wondering if it was possible to issue a 'alter session set
> sql_trace = TRUE' from another session (such as a DBA session).
>
> Anybody know if this can be done?
>
> Thanks
>
> Graham.
Received on Tue Sep 29 1998 - 23:05:50 CDT

Original text of this message

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