Discarding record on action DISCARD on error 0
用户反馈有个表没有同步成功。
这个表刚10天前做了一次同步并对此表导过一次数据。收到这个问题很是郁闷 。
检查源端 EXT进程 以及PUMP进程
stats deprst03,table inv.ORG_ACCT_PERIODSSending STATS request to EXTRACT DEPRST03 ...Start of Statistics at 2019-12-09 16:37:23.Output to /oradata/goldengate/11.2.1/dirdat/r3:Extracting from INV.ORG_ACCT_PERIODS to INV.ORG_ACCT_PERIODS:*** Total statistics since 2019-12-09 16:26:02 ***Total inserts 0.00Total updates 2.00Total deletes 0.00Total discards 0.00Total operations 2.00*** Daily statistics since 2019-12-09 16:26:02 ***Total inserts 0.00Total updates 2.00Total deletes 0.00Total discards 0.00Total operations 2.00*** Hourly statistics since 2019-12-09 16:26:02 ***Total inserts 0.00Total updates 2.00Total deletes 0.00Total discards 0.00Total operations 2.00*** Latest statistics since 2019-12-09 16:26:02 ***Total inserts 0.00Total updates 2.00Total deletes 0.00Total discards 0.00Total operations 2.00
目标端状态
GGSCI (rstreportDB) 2> stats reperp03,table INV.ORG_ACCT_PERIODSSending STATS request to REPLICAT REPERP03 ...Start of Statistics at 2019-12-09 15:44:03.Replicating from INV.ORG_ACCT_PERIODS to HSS_EBS.ORG_ACCT_PERIODS:*** Total statistics since 2019-12-03 15:09:16 ***No database operations have been performed.*** Daily statistics since 2019-12-09 00:00:00 ***No database operations have been performed.*** Hourly statistics since 2019-12-09 15:00:00 ***No database operations have been performed.*** Latest statistics since 2019-12-03 15:09:16 ***No database operations have been performed.End of Statistics.
显示这样应该是有更新。但是没有记录到
如果没有数据来应该是这样的:所以得出是有数据过来的。
GGSCI (ERPUAT3) 7> stats reperp03,table ***Sending STATS request to REPLICAT REPTEST2 ...Start of Statistics at 2019-12-09 16:52:23.End of Statistics.
再检查discard 文件,发现在异常
[oracle@rstreportDB dirrpt]$ more reperp03.dsc
Oracle GoldenGate Delivery for Oracle process started, group REPERP03 discard file opened: 2019-12-09 16:26:48Current time: 2019-12-09 16:26:48Operation failed at seqno 14686 rba 175020
Discarding record on action DISCARD on error 0
Problem replicating INV.ORG_ACCT_PERIODS to HSS_EBS.ORG_ACCT_PERIODS
Mapping problem with compressed update record (target format)...
*
ORGANIZATION_ID = 426
LAST_UPDATE_DATE = 2019-12-09 00:00:00
LAST_UPDATED_BY = 6007
LAST_UPDATE_LOGIN = 6007
SCHEDULE_CLOSE_DATE = 2019-11-30 00:00:00
PERIOD_CLOSE_DATE = 2019-12-09 00:00:00
OPEN_FLAG = P
*
Current time: 2019-12-09 16:26:48Operation failed at seqno 14686 rba 207393
Discarding record on action DISCARD on error 0
Problem replicating INV.ORG_ACCT_PERIODS to HSS_EBS.ORG_ACCT_PERIODS
Mapping problem with compressed update record (target format)...
*
ORGANIZATION_ID = 426
SCHEDULE_CLOSE_DATE = 2019-11-30 00:00:00
OPEN_FLAG = N
SUMMARIZED_FLAG = Y
*
Current time: 2019-12-09 16:38:30
到官网查找都是没有相关记录。
MGR进程也重启了。都是不行。
最后检查表两端的索引。发现源端比目标端多一条索引。
发现目标端是没有CUX这个索引的。因为在当初在导入数据的时候。导入脚本只对INV用户转换为目标端用户。而CUX用户没有转换。所以导致这一条索引没有弄到目标端去。
加入索引后。重启目标端。同步就正常了。
Discarding record on action DISCARD on error 0相关推荐
- Discarding record on action DISCARD on error 1403
Operation failed at seqno 0 rba 8195507 Discarding record on action DISCARD on error 1403 Problem re ...
- 已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: SSL Provider, error: 0 - 接收到的消息异常,或格式不正确。)...
之前做好的asp.net部署后,发现 访问数据库时: 异常:已捕获: "已成功与服务器建立连接,但是在登录过程中发生错误. (provider: SSL Provider, error: 0 ...
- 已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: SSL Provider, error: 0 - 接收到的消息异常,或格式不正确。)
已成功与服务器建立连接,但是在登录过程中发生错误. (provider: SSL Provider, error: 0 - 接收到的消息异常,或格式不正确.) 参考文章: (1)已成功与服务器建立连接 ...
- No result for action XX.action and result error 错误处理
今天终于把困扰我两天的bug处理掉了. bug表现:通过ajax请求数据以及显示数据,数据无显示.通过ajax的error方法打印错误信息 (error: function(XMLResponse){ ...
- mysql安装提示create_MySQL5.1安装时出现Cannot create windows service for mysql.error:0
安装MySQL5.1过程中,我把以前MySQL5.0的GUI工具和服务器全部删掉,安装目录全部删掉,数据文件目录名字改掉,注册表用完美卸载清理了. 然后重启安装MySQL5.1(我以前遇到过服务启动不 ...
- The operation couldn’t be completed. (LaunchServicesError error 0.)
The operation couldn't be completed. (LaunchServicesError error 0.) 每次运行都会报这错误,但是只要clear下工程就可以运行.搞得每 ...
- java recv failed,jmeter压测报错Unrecognized Windows Sockets error: 0: recv failed
问题描述 jmeter并发数500,ramp-up=0报错: 错误1 java.net.SocketException: Unrecognized Windows Sockets error: 0: ...
- (provider: 共享内存提供程序, error: 0 - 管道的另一端上无任何进程。) (Microsoft SQL Server,错误: 233)...
------------------------------ 无法连接到 IFCA-LIUWEI/SQL2005. ------------------------------ 其他信息: 已成功与服 ...
- MYSQL安装出现could not start the service mysql error:0处理
核心提示:MySQL安装是出现could not start the service mysql error:0 提示错误,解决方法: 首先,在管理工具-服务里面将MySQL的服务给停止,然后打开cm ...
最新文章
- goto是python的保留字吗,基于python goto的正确用法说明
- linux网络协议栈之数据包处理过程,Linux网络协议栈之数据包处理过程
- 安卓 spinner下拉框 做模糊查询_想做短视频不知道用什么工具?11个免费制作工具收藏起来...
- 树莓派连接usb手机_树莓派03 - 树莓派的VNC连接
- iOS原生的AVFoundation扫描二维码/条形码
- 中国机动渔船行业发展现状分析,生产渔船占据主导地位「图」
- V20变频器手自动切换(就地远程切换)的具体方法示例
- PyCharm添加背景图片
- 科研作图软件介绍附带AI安装包
- C语言实现推箱子游戏完整代码
- win32项目中使用 skia渲染的一个编译问题
- 解决打开html文件为乱码(完美)
- 随时随地可轻松赚钱的APP-自动赚钱宝
- 深度学习中Map的概念
- 2022-2028全球与中国零售电子商务软件市场现状及未来发展趋势
- iOS--常见的几种数据存储方式
- node+layui红叶博客项目
- 小程序 Base64转换字符串
- 立体图像的深度估计(3D感知)
- 业务对话机器人Rasa核心算法DIET及TED论文详解
热门文章
- pdf在线翻译_如何在线翻译整篇PDF论文?
- 读书笔记之一平米健身:硬派健身
- aspen压缩因子_Aspen 物性代号及常用的英语单词中英文对照
- crontab定时任务不执行,并且没有收到错误信息邮件
- 微信关注二维码不显示
- 显卡性能暴涨,2K高清+144hz显示器飞入寻常百姓家
- unity换装骨骼、蒙皮、动作之美
- IDEA-自定义常用代码块
- 飞速成功案例 | MES系统升级重构,覆盖业务流程各场景功能
- Ocata Neutron代码分析(六)——APIRouter的初始化(1)加载core plugin和service plugin...