近期开始做OGG的项目,测试过程中遇到一个问题。使用CTAS创建一张表,表中有数据,然后使用delete from xxx;删除表之后,replicat进程异常。查看ogg日志,查看官网找到原因。
近期开始做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的设计要求,我们只要工作中注意就好了。
可是把这个表排除掉继续测试。
--结束END--
本文标题: OGG ORA-1403 NO DATA FOUND
本文链接: https://www.lsjlt.com/news/41872.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0