Unable to Drop Undo Tablespace ORA-30013
(Doc ID 835944.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 126.96.36.199 [Release 10.2 to 11.1]
Information in this document applies to any platform.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!