Goldengate Checkpoint Table Is Corrupted

Replicat maintains checkpoints that provide a known position in the trail from which to

start after an expected or unexpected shutdown. By default, a record of these checkpoints

is maintained in a file on disk in the Oracle GoldenGate directory. Optionally, the

checkpoint record can also be maintained in a checkpoint table in the target database.

Using database checkpointing is recommended because it enables the checkpoint to be

included within Replicat‘s transaction, which improves recovery in certain situations.

但是如果Checkpoint出现问题,我们在恢复的时候将无法使用它。

MOS上给出了相关的解决方法:

My Checkpoint Table Is Corrupted.
What Do I Do? (文档 ID 965703.1)
转到底部


In this Document

Goal
  Fix

APPLIES TO:

Oracle GoldenGate – Version 4.0.0 and later

Information in this document applies to any platform.

***Checked for relevance on 14-12-2012***

FIX

Problem

How do I restore the checkpoint table so Replicat can use it again?

Typical error

Depending on the problem, these errors can appear as "No data found" or "Table does not exist".

Such as:

GGS ERROR 516 Extract read, No data found selecting position from checkpoint table HR.REPCHECK for group REPORA, key 1181389907 (0×4669453).

Or…

2005-10-25 13:22:16 GGS ERROR 516 Extract read, Checkpoint table HR.REPCHECK does not exist. Please create the table or recreate the REPORA group using the correct table.

Cause

The table is probably corrupt, was deleted, or is missing a row(s).

Solution

1. Issue the INFO REPLICAT <group> command in GGSCI to verify that the checkpoint FILE on disk is intact. If it errors, the file is missing or corrupt, and you should contact GoldenGate technical support. If the file is intact, continue with these steps.

2. If the table was deleted, recreate it with same schema and name as before … or, if it is corrupt or missing a row, truncate it.

3. From the GoldenGate home location, run the convchk utility with the following command, specifying the checkpoint table as shown:

convchk <group name> <schema>.<table>

4. Restart Replicat.

5. SELECT from the checkpoint table to verify that checkpoints are being added again.

Running convchk causes the checkpoint FILE to become the master source for the group‘s checkpoints. On restart, Replicat will populate the new or truncated checkpoint table with the data from the checkpoint file, in effect resynchronizing them.

***Checked for relevance on 19-May-2011*** 

时间: 2024-10-12 14:57:57

Goldengate Checkpoint Table Is Corrupted的相关文章

OGG目的端的checkpoint table被drop的修复方法

参考自:OGG Replicat Failed Due To Check_point Table beingTruncated (文档 ID 1319832.1) 1.首先,start repfull报错: GGSCI (localhost.localdomain) 8> view report repfull *********************************************************************** Oracle GoldenGate Del

OGG_Oracle GoldenGate Checkpoint检查点(案例)

2014-12-24 Created By 鲍新建 一.摘要 二.修改 BEGIN {NOW | yyyy-mm-dd[:hh:mi:[ss[.cccccc]]] | EOF | SEQNO <sequence number>} --修改抽取进程的开始抽取点:(即:myext的读检查点) alter extract myext BEGIN yyyy-mm-dd:hh:mi:ss alter extract myext BEGIN now --修改myext的写检查点: ALTER EXTRAC

GoldenGate 日常监控

正确启动数据库 源端启动数据库 SQL>  startup 源端启动goldengate GGSCI >  start mgr GGSCI >  start * 目标端启动数据库 SQL>  startup 目标端启动goldengate GGSCI >  start mgr GGSCI >  start * 正确关闭数据库 源端关闭GoldenGate和数据库 源端关闭GoldenGate GGSCI >  info all                   

GoldenGate 异常处理预案

异常处理一般步骤 如果GoldenGate复制出现异常,可以通过以下步骤尝试解决问题: 1)        通过ggsci>view report命令查找ERROR字样,确定错误原因并根据其信息进行排除: 2)        通过ggsci>view ggsevt查看告警日志信息: 3)        检查两端数据库是否正常运行,网络是否连通: 4)        如不能确定错误原因,则可以寻求Oracle技术支持.在寻求技术支持时一般需要提供以下信息: ü  错误描述 ü  进程报告,位于d

GoldenGate实施步骤

一.GoldenGate实施环境 source database:oracle 11.2.0.3 target  database:oracle 11.2.0.3 需要配置的进程如下: source database:extract.data pump target database:replicat 说明如下: 1.主提取进程首先将trail生成在本地,然后datapump读取本地trail再发送到目标服务器,即便网络故障,主提取进程仍然能随着事务生成trail文件,而datapump则会暂时

原创:goldengate从11.2升级到12.1.2

goldengate从11.2升级到12.1.2 1.停止抽取进程 GGSCI (001.oracle.drs.dc.com) 286> stop EXTSJ01 2. 停止投递和复制进程 等待投递进程传输完和复制进程加载完毕.当投递进程的Write Checkpoint #1的Sequence和RBA和复制进程的 Current CHECKPOINT的Sequence和RBA相同时表示已同步完毕 2.1检查投递进程: GGSCI (001.oracle.drs.dc.com) 202> in

GoldenGate配置(一)之单向复制配置

环境: Item Source System Target System Platform Red Hat Enterprise Linux Server release 5.4 Red Hat Enterprise Linux Server release 5.4 Hostname gc1 gc2 Database Oracle 10.2.0.1 Oracle 11.2.0.1 Character Set ZHS16GBK ZHS16GBK ORACLE_SID PROD EMREP List

GoldenGate 配置

准备:两个已经有数据库的虚拟机,现在关闭状态 --源端数据库的操作[[email protected] ~]# su - oracle[[email protected] ~]$ sqlplus "/as sysdba" SQL*Plus: Release 11.2.0.4.0 Production on Sat Sep 19 13:54:26 2015 Copyright (c) 1982, 2013, Oracle.  All rights reserved. Connected

Oracle GoldenGate学习之--GoldenGate的监控

Oracle GoldenGate学习之--GoldenGate的监控 1.使用GGSCI命令监控 (1)进入GoldenGate安装目录,运行GGSCI,然后使用info all查看整体的运行状况 GGSCI (aix212) 1> info all Program     Status      Group       Lag at Chkpt  Time Since Chkpt MANAGER     RUNNING EXTRACT     RUNNING     EORA_1