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 see DDL executing

RE: How to see DDL executing

From: Tom Tyson <tomtysonjr_at_yahoo.com>
Date: Fri, 13 Oct 2000 08:18:37 -0700 (PDT)
Message-Id: <10648.119194@fatcity.com>


Venkat.

Here is a short quick and dirty SQL statement You can use it to monitor what SQL is running and what rollback segment it is using. Hope this is helpful..

select b.username, b.sid, b.serial#, b.audsid,

       b.status, d.name rollback_segment, c.sql_text

from v$transaction a, 
     v$session b, 
     v$sqlarea c,
     v$rollname d
where a.ses_addr = b.saddr and
      b.sql_address = c.address and
      a.xidusn = d.usn;

Tom Tyson
Oracle DBA
Exodus Communications, Inc.


Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere! Received on Fri Oct 13 2000 - 10:18:37 CDT

Original text of this message

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