Is there a way to stop a rollback?
I have a table with 10 partitions. Each partition has 1 milion rows. I wanted to delete rows with rid=1, which are in partition 1. It was taking a long, long time. So I killed the session. Now my database is rolled back, all the rows deleted.
Is there a way to stop the rollback? If I shutdown immediately, I guess it will take a long time to shutdown. If...
Continue Reading This Article
Enjoy this article as well as all of our content, including E-Guides, news, tips and more.
I shutdown abort, when I restart the database, it will do a long, long recovery, right?
I don't care if the data is deleted or not. I need a way to issue "alter table xyz nologging" without triggering the "ORA-00054 resource busy ..."
You can't stop the system from rolling back an aborted transaction. Since you killed the session, the transaction was aborted and the system has no choice but to rollback any changes you made. This system will not decide for you which abort transactions to keep and which to get rid of. So it rolls back all of them. Even if you shutdown the database and bring it back up, it will still perform rollback after the database is started. You'll just have to wait for it to finish. Once it is finished rolling back, you won't get the ORA-00054 error.