博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
goldengate 灾备端外键约束导致 ora-01403 (delete)
阅读量:6708 次
发布时间:2019-06-25

本文共 1669 字,大约阅读时间需要 5 分钟。

bl2灾备端报错ora-01403

2016-07-11 14:10:52  WARNING OGG-01004  Aborted grouped transaction on 'ESOP_CRM.PRODUCTORDERCHARACTER', Database error 1403 (OCI Error ORA-01403: no data found, SQL <DELETE FROM "ESOP_CRM"."PRODUCTORDERCHARACT

ER"  WHERE "PRODUCTORDERCHARACTERID" = :b0>).

 

2016-07-11 14:10:52  WARNING OGG-01003  Repositioning to rba 119862786 in seqno 12144.

 

2016-07-11 14:10:52  WARNING OGG-01154  SQL error 1403 mapping ESOP_CRM.PRODUCTORDERCHARACTER to ESOP_CRM.PRODUCTORDERCHARACTER OCI Error ORA-01403: no data found, SQL <DELETE FROM "ESOP_CRM"."PRODUCTORDERCHARA

CTER"  WHERE "PRODUCTORDERCHARACTERID" = :b0>.

检查discard文件发现

OCI Error ORA-01403: no data found, SQL <DELETE FROM "ESOP_CRM"."PRODUCTORDERCHARACTER"  WHERE "PRODUCTORDERCHARACTERID" = :b0>

Aborting transaction on ./dirdat/t1 beginning at seqno 12144 rba 119862786

                         error at seqno 12144 rba 119862936

Problem replicating ESOP_CRM.PRODUCTORDERCHARACTER to ESOP_CRM.PRODUCTORDERCHARACTER

Record not found

Mapping problem with delete record (target format)...

*

PRODUCTORDERCHARACTERID = 4803777486

*

 

Continuing to discard records up to the last discarded record from action ABEND

 

Operation discarded from seqno 12144 rba 119862786

Aborted delete from ESOP_CRM.PRODUCTORDER to ESOP_CRM.PRODUCTORDER (target format)...

*

PRODUCTORDERID = 140532617

*

Process Abending : 2016-07-11 14:10:52

检查灾备端对应表的外键约束

SELECT * FROM dba_constraints t WHERE t.constraint_type='R' AND owner='ESOP_CRM' AND table_name='PRODUCTORDERCHARACTER';

发现外键约束SYS_C0026901

失效外键约束

ALTER TABLE ESOP_CRM.PRODUCTORDERCHARACTER DISABLE CONSTRAINT SYS_C0026901 ;

再次启动复制进程正常

     本文转自hbxztc 51CTO博客,原文链接:http://blog.51cto.com/hbxztc/1874835,如需转载请自行联系原作者

你可能感兴趣的文章
我的友情链接
查看>>
我的友情链接
查看>>
分享国外电商网站的七大时尚设计元素
查看>>
JUnit——Annotation
查看>>
LDAP 搭建
查看>>
轻松学会Java高并发第一课-并发的基本概念
查看>>
8.30 16.4-16.8
查看>>
iptables的NAT配置
查看>>
Linux操作系统基础知识
查看>>
28.C#--方法的简单调用练习
查看>>
HTML5 服务器发送事件
查看>>
MVC分页
查看>>
Linux磁盘分区
查看>>
渠道统计比较的优缺点
查看>>
实现MySQL分库分表备份的脚本
查看>>
Confluence 6 配置手动备份
查看>>
IOS & Android 下完美隐藏input光标
查看>>
atoi()函数实现
查看>>
亚马逊AWS之Transcoder
查看>>
lvs + keepalived + httpd DR模式web层高可用方案架构
查看>>