RE: Terminate rollback?

  • From: "Mark W. Farnham" <mwf@xxxxxxxx>
  • To: <brian.s.wisniewski@xxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 2 Apr 2009 14:41:10 -0400

Last time I had to do this was before automatic UNDO, so I'm not sure it
will still work.

 

1)       create a new (it can be modest) undo tablespace

2)       shutdown, point the parameter at the new undo tablespace

3)       startup mount, alter the datafiles and previous undo tablespace's
files off line

4)       bring the tablespaces containing the not rolled back objects back
on line.

5)       If you get that far, drop the not rolled back objects.

6)       Bring the old undo back on line.

 

Possibly some old parameters like _offline_rollback_segments or
_corrupt_rollback_segments were required, but I thought we had agreed that
the object locks for undo would surrender to drop (breakable locks), anyway.
Maybe that only works out cleanly when a single table is involved with the
transaction being rolled back. And they certainly might have changed their
minds.

 

mwf

 

  _____  

From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Brian S Wisniewski
Sent: Thursday, April 02, 2009 12:30 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Terminate rollback?

 

10.2.0.4  DEVELOPMENT database

 

Is there any way (oracle events) to stop a rollback that is in-flight?  I
want to drop the object that the rollback is occurring against and start
over. The rollback that is in-flight is going to run for hours and I'd
rather not wait, if possible.  This is against a development database so I'm
not concerned about using undocumented processes if anyone has one
available.  I looked through the oracle events but didn't find one that
stood out.

 

Thanks - Brian


  _____  

This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market
prices, data and other information are not warranted as to completeness or
accuracy and are subject to change without notice. Any comments or
statements made herein do not necessarily reflect those of JPMorgan Chase &
Co., its subsidiaries and affiliates. This transmission may contain
information that is privileged, confidential, legally privileged, and/or
exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect that might
affect any computer system into which it is received and opened, it is the
responsibility of the recipient to ensure that it is virus free and no
responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and
affiliates, as applicable, for any loss or damage arising in any way from
its use. If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you. Please refer to
http://www.jpmorgan.com/pages/disclosures for disclosures relating to
European legal entities. 

Other related posts: