RE: How to identify rollback in progress?
- From: "Powell, Mark D" <mark.powell@xxxxxxx>
- To: <oracle-l@xxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 08:47:36 -0400
I just use the following line against v$transaction to see which
transactions are rolling back
,case when bitand(t.flag,power(2,7)) > 0 then 'RB in Progress'
else 'Not Rolling Back'
end as "F Status"
You can use this line with any of your queries against v$transactions
without having to refer to an x$ view.
It works on all versions of Oracle from 8.0 to 9.2. I have not tested
it on version 10 yet.
HTH -- Mark D Powell --
________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Allen, Brandon
Sent: Tuesday, August 30, 2005 8:05 PM
To: Jared Still
Cc: oracle-l@xxxxxxxxxxxxx
Subject: RE: How to identify rollback in progress?
Thanks, but it looks like that one does the same thing as the one you
referred me to yesterday
(http://www.ixora.com.au/scripts/sql/9.0/rolling_back.sql), and in fact
that script looks suspiciously similar to the script on ixora. I think
somebody may have done some borrowing :-)
-----Original Message-----
From: Jared Still [mailto:jkstill@xxxxxxxxx]
Sent: Tuesday, August 30, 2005 4:55 PM
To: Allen, Brandon
Cc: oracle-l@xxxxxxxxxxxxx
Subject: Re: How to identify rollback in progress?
It appears there is a script that may do what you want.
I haven't tested it for accuracy.
http://wisdomforce.com/dweb/resources/docs/complete_rollback_script.pdf
--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
On 8/29/05, Jared Still <jkstill@xxxxxxxxx> wrote:
http://www.ixora.com.au/scripts/rbs.htm
This seems to be as good as it gets.
I don't know if this improves in 10g.
On 8/29/05, Allen, Brandon <Brandon.Allen@xxxxxxxxxxx >
wrote:
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?
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: