你好,游客 登录 注册 搜索
背景:
阅读新闻

删除分区表所在表空间遇到ORA-14401错误

[日期:2013-12-04] 来源:Linux社区  作者:wxl1314920 [字体:大 中 小]

数据库: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

linux
相关资讯       ORA-14401 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款