Goldengate Checkpoint Table Is Corrupted,biosiscorrupted

來源:互聯網
上載者:User

Goldengate Checkpoint Table Is Corrupted,biosiscorrupted

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*** 




    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.