数据库: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.
更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12
相关阅读:
ORA-01172、ORA-01151错误处理 http://www.linuxidc.com/Linux/2013-06/86529.htm
ORA-00600 [2662]错误解决 http://www.linuxidc.com/Linux/2013-06/86528.htm
ORA-01078 和 LRM-00109 报错解决方法 http://www.linuxidc.com/Linux/2012-07/66044.htm
ORA-00471 处理方法笔记 http://www.linuxidc.com/Linux/2013-09/90017.htm
ORA-00314,redolog 损坏,或丢失处理方法 http://www.linuxidc.com/Linux/2013-09/90646.htm
ORA-00257 归档日志过大导致无法存储的解决办法 http://www.linuxidc.com/Linux/2013-09/90594.htm
