ORA-00604 ORA-00376 Unable to Drop a tablespace in GoldenGate (文档 ID 1930964.1)

本文介绍了解决Oracle GoldenGate中无法删除表空间的问题,包括错误信息、原因分析及具体的解决步骤。

ORA-00604 ORA-00376 Unable to Drop a tablespace in GoldenGate (文档 ID 1930964.1)

来源于:
ORA-00604 ORA-00376 Unable to Drop a tablespace in GoldenGate (文档 ID 1930964.1)

适用于:
Oracle GoldenGate - Version 11.1.1.0.0 and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.


症状:
Below errors while dropping tablespace, datafile offline drop and even creation.

ORA-00604: error occurred at recursive SQL level 1
ORA-00376: file 42 cannot be read at this time
ORA-01110: data file 42: '+DATA01/tst/datafile/ogg_ts02.dbf'
ORA-06512: at line 1169
ORA-00376: file 42 cannot be read at this time
ORA-01110: data file 42: '+DATA01/tst/datafile/ogg_ts02.dbf'


原因:
该datafile 被错误的从asm级别删除掉了。ogg的ddl触发器尝试读这个不存在的文件。

解决方案:

1149946.1 and 786567.1都试过了,不行。

禁用掉ogg的ddl触发器,再drop tablespace,再启用ddl触发器即可。

cd /u02/ggs
sqlplus / as sysdba

SQL> @ddl_disable;

SQL> drop tablespace tbs including contents ;

SQL> @ddl_enable


 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值