首页 > 其他 > 详细

OGG ORA-1403 NO DATA FOUND

时间:2018-12-20 11:42:16      阅读:232      评论:0      收藏:0      [点我收藏+]
近期开始做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的设计要求,我们只要工作中注意就好了。
可是把这个表排除掉继续测试。

OGG ORA-1403 NO DATA FOUND

原文:http://blog.51cto.com/roidba/2333178

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!