How to identify rollback in progress?

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 29 Aug 2005 09:12:31 -0700

Anyone know of a quick way to identify any/all transactions currently being 
rolled back?  I know I could look for decreasing used_ublk in v$transaction, or 
increasing undo statistics in v$sesstat, but is there anywhere that a 
transaction is simply flagged as currently being rolled back, so you can 
quickly identify it w/o having to check for deltas?
 
It seems v$transaction.status would be the sensible place to put such a flag, 
but the only description of this column in the documentation is "status" - wow, 
that's really helpful.  From what I've been able to see, the only values for 
status are ACTIVE and INACTIVE, but maybe I just didn't run my test rollback 
long enough to capture it.
 
Thanks,
Brandon

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: