温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

OGG ORA-1403 NO DATA FOUND

发布时间:2020-07-16 06:38:25 来源:网络 阅读:981 作者:roidba 栏目:关系型数据库

近期开始做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的设计要求,我们只要工作中注意就好了。
可是把这个表排除掉继续测试。
向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI