OGG ORA-1403 NO DATA FOUND

近期开始做OGG的项目,测试过程中遇到一个问题。使用CTAS创建一张表,表中有数据,然后使用delete from xxx;删除表之后,replicat进程异常。查看ogg日志,查看官网找到原因。

    官方文档号
    How to Capture the DML(s) Executed by a DDL Trigger (OGG) (文档 ID 1509900.1)

    解决方案
    SOLUTION
By design, Extract (Classic/ Integrated) doesn't capture the dmls from a DDL transaction (eg, inserts as a result of CTAS) or the dmls from a DDL trigger regardless of whether DDL replication is enabled or not. This is working correctly as per the design and not a bug

测试过程:
connect cytdas/cytdas
create table oggtest as select * from dba_users;
查看ogg进程正常,数据同步正常
delete from oggtest;
目的端发现replicat进程abend,查看日志发现ORA-01403错误哦。
这里不是BUG,不是BUG,是OGG的设计要求,我们只要工作中注意就好了。
可是把这个表排除掉继续测试。

转载于:https://blog.51cto.com/roidba/2333178

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值