web analytics
Skip to primary content
Skip to secondary content

MemoSoup

Mix of the things I always forget

MemoSoup

Main menu

  • Home
  • About
  • Links

Tag Archives: transaction

Oracle: list of the running transactions

Posted on 09/02/2010 by bigspoon
Reply

This query shows SID, username and start time of the running transaction.
In addition, number of the used blocks is shown.


SELECT a.sid, a.status, a.username, b.xidusn, b.used_urec, b.used_ublk, b.START_TIME
FROM v$session a, v$transaction b
WHERE a.saddr = b.ses_addr
order by START_TIME desc;

Posted in Oracle | Tagged Oracle, run, transaction | Leave a reply

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress