Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Table locked due to roll back

user13364377Feb 17 2014 — edited Feb 17 2014


Hi All,

A delete statement to delete millions of records from a table was in progress and application team killed the process as it was exectuing for.

more than 10 hrs. After killing the process, the table is locked as the roll back is still in progress. For roll back to get  completed, it will take another 10 hrs.

Is there a better way to release the lock from the table?

SQL> select used_ublk,used_urec from v$transaction;

USED_UBLK  USED_UREC
---------- ----------
     45360    1898141
         2        210

SQL> select used_ublk,used_urec from v$transaction;

USED_UBLK  USED_UREC
---------- ----------
     45302    1895407

DB Version:11.2.0.2

OS :linux 64 bit

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2014
Added on Feb 17 2014
6 comments
839 views