千家信息网

OGG ORA-1403 NO DATA FOUND

发表于:2025-11-08 作者:千家信息网编辑
千家信息网最后更新 2025年11月08日,近期开始做OGG的项目,测试过程中遇到一个问题。使用CTAS创建一张表,表中有数据,然后使用delete from xxx;删除表之后,replicat进程异常。查看ogg日志,查看官网找到原因。
千家信息网最后更新 2025年11月08日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)    解决方案    SOLUTIONBy 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/cytdascreate table oggtest as select * from dba_users;查看ogg进程正常,数据同步正常delete from oggtest;目的端发现replicat进程abend,查看日志发现ORA-01403错误哦。这里不是BUG,不是BUG,是OGG的设计要求,我们只要工作中注意就好了。可是把这个表排除掉继续测试。
0