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-01549: tablespace not empty, use INCLUDING CONTENTS option

Dennis RussellMay 15 2024 — edited May 15 2024

When I drop a table space as so “drop tablespace MMAX_MFINC_2018;”, I get an error stating that it is not empty so I did this “drop tablespace MMAX_MFINC_2018 including contents and datafiles;” I then get this error ORA-14404: partitioned table contains partitions in a different tablespace. We deleted all partitions for that year.

So I did this to look at the segments

select * from dba_segments where tablespace_name = 'MMAX_MFINC_2018' order by 1,2,3;

MAXDATA MROLL_3YR_SLS MROLL_3YR_SLS_47_201801 TABLE PARTITION ASSM MMAX_MFINC_2018 68 5600642 260046848 31744 102 65536 1048576 1 2147483645 2147483645

How do you delete table spaces? There are 142 rolls but they point to the same tablespace. Shouldn't the including contents and datafiles got removed?

This post has been answered by Solomon Yakobson on May 15 2024
Jump to Answer
Comments
Post Details
Added on May 15 2024
2 comments
90 views