Unable to Drop Undo Tablespace ORA-30013
Last updated on DECEMBER 06, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 220.127.116.11 [Release 10.2 to 11.1]
Information in this document applies to any platform.
*** Checked for relevance on 12-Apr-2016 ***
Checked for relevance on 30-Jun-2011
1. When trying to drop the undo tablespace , following error occurs :
drop tablespace UNDOTBS2
ERROR at line 1:
ORA-30013: undo tablespace 'UNDOTBS2' is currently in use
2. You have verified the <Note 341372.1> and does not apply.
3. Run the below queries . Output of one of the queries shows the transactions in 'PREPARED' state.
SQL> SELECT KTUXEUSN, KTUXESLT, KTUXESQN, /* Transaction ID */ KTUXESTA Status,KTUXECFL Flags
FROM x$ktuxe WHERE ktuxesta!='INACTIVE';
SQL>select local_tran_id, state from dba_2pc_pending;
--local_tran_id is a trio combination of USN , Slot , Seq
4. You have distributed transactions on your database.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms