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: Where can i find a list of uncommitted transactions or sql statements run?

Re: Where can i find a list of uncommitted transactions or sql statements run?

From: sybrandb <sybrandb_at_gmail.com>
Date: 4 Dec 2006 09:47:56 -0800
Message-ID: <1165254476.637098.12160@l12g2000cwl.googlegroups.com>

Wally wrote:
> DB: Oracle 8.1.7.4.1
> OS: Windows 2000
>
> Lets say I have an update, insert or delete statements that has been
> run in sql * plus, but hasn't been committed yet. Is there a table/view
> in the database that I can query on to find these pending uncommited
> transactions or statements?
>
> Thanks.

You would need v$lock, v$transaction, v$session, and v$sql

address of v$transaction links to v$session.taddr
address of v$lock links to v$session.kaddr
address of v$sql links to v$sql.sql_address

Hth

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Mon Dec 04 2006 - 11:47:56 CST

Original text of this message

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