OGG管理-OGG Extract abends with “ERROR OGG-01028 failed to start transaction <xid>“ (Doc ID 1944276.1)

The extract on OGG environments setup for DDL replication can abend with following errors

eg., 查看对应的report发现如下日志:

2014-05-20 12:47:32  WARNING OGG-01417  CACHEMGR: duplicate transaction secondary key: 000C000D000003F8  primary key: 0028000D.
2014-05-20 12:47:32  WARNING OGG-01262  The call to the cm_obj_new() function from line 2258 in CM_object_create
(op_t *, short, const uint8_t *, short, short, const uint8_t *, void *, void *(*)(void *), op_t *, int, co_t **)() failed with reason 'cm_obj_new: 0028000D: error: 115'.

Source Context :
  SourceModule            : [er.processloop]
  SourceID                : [/scratch/aime1/adestore/views/aime1_staxj04/oggcore/OpenSys/src/app/er/processloop.cpp]
  SourceFunction          : [process_extract_loop()]
  SourceLine              : [875]

2014-05-20 12:47:32  ERROR   OGG-01028  failed to start transaction 12.13.1016 (0x000c.00d.000003f8).;

分析原因如下:

When using PURGEDDLHISTORY and PURGEMARKERHISTORY in manager parameter file, manager deletes the marker table entries periodically.
OGG extract skips the non-insert records on marker table correctly however the associated transaction was left behind and
not cleaned up from memory causing the extract to run in to duplicate transaction error.

 

Issue affects OGG versions 11.2.1.0.7+ including OGG v12

The fix is in bug's 18874054 and 19721652

Both the bug fixes are needed to avoid hitting the error and OGG version 11.2.1.0.28 has those bug fixes.

goldengate在MGR进程中提供了系统自动清理DDL源数据(ggs_marker/ggs_ddl_hist)的功能,但是有的OGG版本的这两个功能会引起一些BUG。并且按照ORACLE官方的说法也是建议手工对这些表备份后再进行清理,所以此处对手工清理方式进行说明。

delete from ggs_marker where sysdate - to_date(OPTIME, 'yyyy-mm-dd hh24:mi:ss')  > 10;
delete from GGS_DDL_HIST where sysdate - to_date(OPTIME, 'yyyy-mm-dd hh24:mi:ss')  > 10;
commit;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值