OGG不抽取或不应用数据No active extraction maps 或 No active replication maps

0    336    1

Tags:

👉 本文共约1931个字,系统预计阅读时间或需8分钟。

No active extraction maps.

现象

感觉extract进程不工作,所有进程也不报错,使用stats统计时返回No active extraction maps.

解决

1、若是SQL Server数据库,则所有进程的参数文件配置中,表名前不能加数据库名。

例如:

错误写法:TABLE testing.dbo.*;

正确写法:TABLE dbo.*;

2、尝试做UPDATE和DELETE等DML操作。

3、尝试添加DYNAMICRESOLUTION 参数。

4、尝试查询select count(*) from DBA_GOLDENGATE_SUPPORT_MODE;视图。如果查询很久都不能出结果,那么,可能碰到数据库的bug了,需要修改该视图的定义。

我的情况是,Oracle 11.2.0.4的环境,业务表大约有2万个表,但是查询该视图很久不能出结果。解决办法,使用sys执行如下代码:

然后查询select count(*) from DBA_GOLDENGATE_SUPPORT_MODE;视图可以秒出。

该问题耗费了我3天时间,具体可以参考:https://www.dbaup.com/shitudba_goldengate_support_modeyinqidejichengmoshioggbutongbuwentipaichaguocheng.html

No active replication maps

解决

1、源端是cdb,而目标端是非cdb,那么修改如下修改:

2、检查dump或extract的trail文件是否有内容生成

3、尝试重启replicate进程

Replicat Is Not Applying Changes To Database (文档 ID 2648750.1)

APPLIES TO:

Oracle GoldenGate - Version 12.3.0.1.4 and later
Information in this document applies to any platform.

SYMPTOMS

Configured a new GG setup. The extract/pump are up and running at the source and the replicat is up and running at the target. The extract is picking transactions from the source Database and the pump is sending it to the target server as appropriate. However, Replicat is reading the trail file sent by the Pump but not applying the changes to the target database.

CAUSE

Source database is multitenant but target is not multitenant. Below has been mentioned in replicat parameter file

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
AiDBA后续精彩内容已被站长无情隐藏,请输入验证码解锁本文!
验证码:
获取验证码: 请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“AiDBA”或者“dbaup6”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复