数据库:Oracle11.2.0.3
删除分区表所在表空间遇到ora14401错误:
SYS@vimop01_b>drop tablespaceUSER_TS_MONI_11B including contents and datafiles;
drop tablespace USER_TS_MONI_11B including contents anddatafiles
*
ERROR at line 1:
ORA-14404: partitioned table contains partitions in adifferent tablespace
解决方法:
select segment_name,partition_name from dba_segments wheretablespace_name='USER_TS_MONI_11B';
select * from dba_tab_partitions wheretablespace_name='USER_TS_MONI_11B';
找到相应表空间的对象删掉。有些空分区表不产生segment,在dba_segments下看不到,需要查找dba_tab_partitions,将查找到分区全部删除。
删除操作命令如:ALTER TABLEMON_DATA_DAY_BUFFER_TOTAL DROP PARTITION D_20120530;
SYS@vimop01_b>drop tablespaceUSER_TS_MONI_11B including contents and datafiles;
Tablespace dropped.
相关阅读:
ORA-01172、ORA-01151错误处理
ORA-00600 [2662]错误解决
ORA-01078 和 LRM-00109 报错解决方法
ORA-00471 处理方法笔记
ORA-00314,redolog 损坏,或丢失处理方法
ORA-00257 归档日志过大导致无法存储的解决办法