OGG-01028 Incompatible Record解决办法

简介: How to recover from an OGG-01028 Incompatible Record if the trail is not corrupt (Doc ID 1507462.1) Oracle GoldenGate - Version 9.

How to recover from an OGG-01028 Incompatible Record if the trail is not corrupt (Doc ID 1507462.1)


Oracle GoldenGate - Version 9.5_EA and later
Information in this document applies to any platform.
GOAL

To recover from error: OGG-01028 Incompatible record in /ggtrail/GGODSCF/dirdat/cf000325, rba 19018 (getting header).

when it is known that the trail file is intact.

This applies to both extract data pumps and replicats


FIX

If a trail is not corrupt, a pump or replicat can be restarted by noting the point of failure (trail number and RBA) indicated in the report and discard file. Please do not attempt this if you are not familiar with reading these reports.

This should be done on transaction boundaries or with RESTARTCOLLISIONS enabled. If you do not understand this, do not do this yourself; please have support assist you.



>logdump
logdump> log to mycase.txt
logdump> open (/ggtrail/GGODSCF/dirdat/cf000325) <<<--- the trail in the report
logdump> ghdr on
logdump> pos (RBA 19018) <<<--- the RBA in the report 
logdump> n
this will give you a bad header message

logdump> sfh prev
this gives you the header of the previous record start,write down the RBA value <<<--- If it's the transaction boundary or only DML in transaction

logdump> count
if this finishes Ok and gives you a count of tables and records, the trail is OK and you can use the RBA we saved for the alter later
the trail is known to be undamaged
if this does not finish with the count, you have a bad trail and must use another recovery method, contact support.
logdump> exit

You now have a history of what you did in file mycase.txt and a written record of the RBA to use to ALTER the extract data pump or replicat

ggsci> alter extract xxx, extseqno < the existing sequence number>, extrba 
ggsci> start

目录
相关文章
|
Oracle 安全 关系型数据库
实战篇:Linux 安装 Oracle 11GR2 数据库保姆级教程(一)
实战篇:Linux 安装 Oracle 11GR2 数据库保姆级教程(一)
实战篇:Linux 安装 Oracle 11GR2 数据库保姆级教程(一)
|
Oracle 网络协议 关系型数据库
Oracle会话超时设置1:在sqlnet.ora和listener.ora中设置
这篇文章是Oracle会话超时设置的第一个文章,简述和Oracle 数据库 net services有关的会话超时管理。
2502 0
Oracle会话超时设置1:在sqlnet.ora和listener.ora中设置
|
机器学习/深度学习 人工智能 搜索推荐
AI训练师入行指南(五):模型评估
本文从珠宝鉴定类比出发,探讨AI模型从训练到优化的全流程。首先介绍模型评估的四大核心指标:准确率、精确率与召回率、F1-Score及AUC-ROC,帮助明确模型性能。接着分析阈值调节、正则化与集成学习等调优方法的实际应用,如支付宝动态人脸识别和腾讯金融风控系统。此外,针对GPT-4o、Stable Diffusion和滴滴ETA模型的具体案例,展示参数微调与审美争议解决策略。最后提供避坑指南,强调数据泄漏、过拟合和冷启动问题的应对之道,总结模型评估应以商业价值、伦理规范和用户体验为导向,确保AI模型真正成为“智能珍宝”。
926 0
|
存储 监控 数据中心
|
Oracle 关系型数据库 Linux
Linux 关闭透明大页(transparent_hugepage)和 NUMA
有些情况下需要关闭Linux 服务器的 透明大页和 NUMA,比如安装 Oracle 数据库!
Linux 关闭透明大页(transparent_hugepage)和 NUMA
|
安全 网络安全 网络性能优化
IP中继电话系统
IP中继电话系统
IP中继电话系统
|
Oracle 网络协议 关系型数据库
从零开始教你安装Oracle数据库!Oracle 数据库的安装和使用指导
本文是一篇Oracle数据库的安装和使用教程,不仅记录了Oracle数据库的下载,安装和配置,还通过表空间的创建示例分析Oracle数据库的具体使用。另外,文章中详细记录了Oracle数据库在连接配置中可能遇到的异常问题,并对相应的问题给出具体的解决方案。这篇文章完整记录了数据库的安装和使用,适合作为学习和Oracle相关异常问题修复的参考。
6652 0
从零开始教你安装Oracle数据库!Oracle 数据库的安装和使用指导
|
Prometheus 监控 Oracle
oracledb_exporter监控Oracle,一个入侵性极低的监控方案。
oracledb_exporter监控Oracle,一个入侵性极低的监控方案。
1388 0
|
Shell Linux Windows
Xshell免费了,可添加无限标签
Xshell免费了,可添加无限标签
Xshell免费了,可添加无限标签
|
C语言
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
1211 0