热门标签 | HotTags
当前位置:  开发笔记 > 开发工具 > 正文

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

数据库:Oracle11.2.0.3删除分区表所在表空间遇到ora14401错误:SYS@vimop01_bgt;droptablespaceUSER_TS_MONI_11Bincludingc

数据库:Oracle11.2.0.3删除分区表所在表空间遇到ora14401错误:SYS@vimop01_bgt;drop tablespaceUSER_TS_MONI_11B including c

数据库: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 归档日志过大导致无法存储的解决办法


推荐阅读
author-avatar
假面的告白1993_931
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有