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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to trace what particular session is doing?

RE: How to trace what particular session is doing?

From: Senthil Kumar <senthilkumard_at_summitworks.com>
Date: Wed, 3 Mar 2004 15:55:04 +0530
Message-ID: <AHEJJMCLHMLNCFGMOLKCOEDICPAA.senthilkumard@summitworks.com>


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



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

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 Mar 03 2004 - 04:11:35 CST

Original text of this message

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