首页 > 其他分享 >OGG-06498 trail文件满问题

OGG-06498 trail文件满问题

时间:2023-09-04 20:31:44浏览次数:49  
标签:00 12 09 trail 2021 rmttrail OGG 06498 dirdat

OGG 12.1及以前的版本

巡检时发现ogg传输进程异常
报错如下:
2021-12-09 16:25:19 ERROR OGG-06498 The sequence number 998999 for output trail file ‘/data/ggs/dirdat/tp’ has exceeded the maximum threshold (998999). Please consult
Oracle Knowledge Management Doc ID 1559048.1 for further actions.

问题原因

OGG 12.1及以前的版本 trail文件为6位数。已经达到最大值。

解决方案

GGSCI (syncdbadm01.sync.sdjj.com) 21> info dpjcpt
EXTRACT DPJCPT Last Started 2021-12-09 16:13 Status ABENDED
Checkpoint Lag 00:00:00 (updated 05:25:13 ago)
Log Read Checkpoint File ./dirdat/pt991992
2021-12-09 10:49:53.000000 RBA 218399
GGSCI (syncdbadm01.sync.sdjj.com) 23> info EXTJCPTEXTRACT EXTJCPT Last Started 2021-11-19 18:53 Status STOPPED
Checkpoint Lag 00:00:01 (updated 00:00:15 ago)
Log Read Checkpoint Oracle Redo Logs
2021-12-09 16:26:09 Thread 1, Seqno 388329, RBA 419120348
SCN 4730.2035137477 (20317230447557)
Log Read Checkpoint Oracle Redo Logs
2021-12-09 16:26:07 Thread 2, Seqno 306150, RBA 4602368
SCN 4730.2035137355 (20317230447435)

停止源端抽取进程
stop extjcpt

删除源端投递进程rmttrail文件并建立新的rmttrail文件

delete rmttrail /data/ggs/dirdat/tp
delete rmttrail ./dirdat/tp
ADD rmttrail /data/ggs/dirdat/tq, EXTRACT DPJCPT

编辑投递进程参数,修改参数文件中的rmttrail文件

rmttrail /home/oracle/ogg/dirdat/tq

开启源端投递进程查看目标端是否生成新的trail文件
start dpjcpt

[oracle@jcpt dirdat]$ ls
tp991992 tq000000 tq000001

目标端确认同步进程已应用最后的trail文件且无变化
info repjcpt
GGSCI (jcpt) 23> info repjcpt

EXTRACT EXTJCPT Last Started 2021-11-19 19:10 Status RUNNING
Checkpoint Lag 00:00:01 (updated 00:00:15 ago)
Log Read Checkpoint File /ogg/dirdat/tp991992
2021-12-09 15:07:12 RBA 134732

修改目标端同步进程应用到新的trail文件
stop repjcpt
alter repjcpt,exttrail ./dirdat/tq
start repjcpt

info repjcpt
GGSCI (jcpt) 23> info repjcpt

EXTRACT EXTJCPT Last Started 2021-11-19 19:10 Status RUNNING
Checkpoint Lag 00:00:01 (updated 00:00:15 ago)
Log Read Checkpoint File /ogg/dirdat/tq000001
2021-12-09 15:10:09 RBA 1246

源端重置抽取进程tail文件
stop dpjcpt
delete exttrail ./dirdat/pt
ADD EXTTRAIL /ogg/ggs/dirdat/qt, EXTRACT EXTJCPT
alter dpjcpt exttrailsource ./dirdat/qt
配置源端抽取进程参数
edit params extjcpt

exttrail /ogg/ggs/dirdat/qt

启动进程
start extjcpt
start dpjcpt

参考文档

Oracle MOS
Goldengate Replicat Process Abending With ERROR OGG-01332 File <filename>, with compatibility level 6, is not compatible with the current software version’s compatibility level of 4 (Doc ID 2538448.1)
Replicat checkpoint shows 9 digit trail file instead of 6 digits when source OGG version is 12.1.x and target OGG version is 12.2.x (Doc ID 2120995.1)

标签:00,12,09,trail,2021,rmttrail,OGG,06498,dirdat
From: https://blog.51cto.com/u_13482808/7355131

相关文章

  • log4j结合commons-logging配置总结
    作者fbysss关键字:loggingcommons-logging是一个通用的日志接口,commons-logging.jar包中自带了一个simplelog的实现log4j也实现了这个接口使用通用接口,方便在于如果更换实现的方式,只要修改一个配置项即可配置过程:commons-logging.properties必须放置在WEB-INF/classes/下面log4j.pro......
  • SpringBoot启动启动项目出现o.s.b.d.LoggingFailureAnalysisReporter 错误解决方法
    把@SpringBootApplication改成@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})代码如下:@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})publiccl......
  • OGG-01496 Failed to open target trail file ./dirdat/ra000002, at RBA 2179
    1.问题描述在启动OGG源端的投递进程时,报错:OGG-01496OGG-01496Failedtoopentargettrailfile./dirdat/ra000002,atRBA2179 2.原因分析目标端trail文件丢失,查看目标端的${OGG_HOME}/dirdat下确实没有文件存在。3.解决办法源端OGG:alter extract pump1 etrollover......
  • ogg 的抽取进程 2015-06-17 05:51:08 ERROR OGG-02077
    报错信息如下HowtoresolveExtractAbendingWithOGG-02077Error(DocID2037420.1)这种情况是把抽取进程注册到数据库中了,你又强制启动相同的抽取进程,就会与数据库中注册的进程冲突,你可以执行下边语句删除数据库中抽取进程Stepstoclearthespecificextractcomponen......
  • OGG_Linux_x64_BigData启动ggsci时报错:error while loading shared libraries: libjvm
    问题描述:[root@hadoop03ggs]$./ggsci./ggsci:errorwhileloadingsharedlibraries:libjvm.so:cannotopensharedobjectfile:Nosuchfileordirectory 解决办法:1.查看缺少那些.so文件[root@hadoop03/]# lddggsci 2.查libjvm.so库文件的路径[root@hadoop0......
  • Apache Commons Logging 是如何决定使用哪个日志实现类的
    ApacheCommonsLogging像SLF4J一样,是个通用日志框架,广泛应用在各个开源组件中。说其通用,是因为它本身只提供了简单的日志输出的实现(org.apache.commons.logging.impl.SimpleLog和org.apache.commons.logging.impl.NoOpLog),主要是为你统一使用其他专业日志实现(Log4j、jdk1.4......
  • 双缓冲异步日志(Async Logging)
    文章目录一、日志系统简介二、功能需求三、性能需求四、高效的异步日志1、异步日志的概念2、双缓冲异步日志解析3、AsyncLogging源码4、代码运行图示五、双缓冲异步日志的相关问题一、日志系统简介日志通常用于故障诊断和追踪(trace),也可用于性能分析。日志通常是分布式系统中事......
  • Extract Abends with OGG-01028 Non-Standard Redo Detected in 10g Compatible Forma
    ogg报错ExtractAbendswithOGG-01028Non-StandardRedoDetectedin10gCompatibleFormat抽取进程意外Abend手动重启恢复ExtractAbendswithOGG-01028Non-StandardRedoDetectedin10gCompatibleFormat(DocID1313864.1)根据文档修改添加这个参数'tranlo......
  • Python logging.handlers模块,RotatingFileHandler、TimedRotatingFileHandler 处理器
    转自:https://blog.csdn.net/B11050729/article/details/132353220 ......
  • Unity UGUI的Toggle(复选框)组件的介绍及使用
    UnityUGUI的Toggle(复选框)组件的介绍及使用1.什么是Toggle组件?Toggle(复选框)是UnityUGUI中的一个常用组件,用于实现复选框的功能。它可以被选中或取消选中,并且可以代码通过其制控状态。2.Toggle组件的工作原理组Toggle件由两个部分组成:背景记标和。景背用于显示复选框的外观......