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!

ORA-14405 while deleting empty tablespace

wolfej50Dec 29 2015 — edited Jan 4 2016

Oracle 11gR2 on Linux

I'm debugging a procedure that moves the contents of a tablespace to another.  After I moved tables, indexes, and LOBs, I still had a bunch of temporary segments (querying the dba_segments view).  I attempted to drop the tablespace (including contents and datafiles), but got the 14405 error, indicating that the tablespace had partitioned indexes that referred to tables not in the tablespace.  After some research, I changed the tablespace to read/write and issued an 'alter tablespace coalesce' command.  Querying the dba_segments view again returned no segments in the identified tablespace.  However, I'm still getting the 14405 error when I attempt to drop the tablespace.  I also queried the dba_indexes and dba_ind_partitions to check if any indexes or partitions existed in the tablespace, but none were reported.  I'm at a loss now, since the error insists that index partitions exist in the tablespace, but everything else tells me the tablespace is empty.  Any thoughts? 

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2016
Added on Dec 29 2015
17 comments
1,968 views