Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to trace what particular session is doing?
Hi,
take the sid,serial# of the session.
then use
exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,true);
then analyze your user trace file.
Senthil.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jay
Sent: Wednesday, March 03, 2004 8:11 AM
To: oracle-l_at_freelists.org
Subject: How to trace what particular session is doing?
Dear All,
I like to trace what particular session is doing at given point in time? I
know something i have to join
v$session,v$process,v$transaction and v$sql but somehow not able to get
succeed.
Does anyone have a script for the same?
Thanks
Jay
![]() |
![]() |