~沉%淀~

一切有为法,如梦幻泡影,如露亦如电,应作如是观

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
Oracle 19C OGG基础运维-04DML同步常见问题 

一:源端添加检查点失败

错误: No checkpoint table specified. Using GLOBALS specification c##ogg.ggschkpt...

GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 2> ADD CHECKPOINTTABLE 

No checkpoint table specified. Using GLOBALS specification c##ogg.ggschkpt...

ERROR: Catalog name is missing from checkpoint table specification c##ogg.ggschkpt.

解决方案: 用户前指定数据库名

GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 2> ADD CHECKPOINTTABLE CDB$ROOT.c##ogg.ggschkpt

二:启动抓取进程ext_01失败

错误: Classic Extract does not support multitenant container databases.

[oracle@cjcos01 ogg]$ tail -f ggserr.log 

......

2020-04-09T13:29:22.503+0800  ERROR   OGG-06220  Oracle GoldenGate Capture for Oracle, ext_01.prm:  Classic Extract does not support multitenant container databases.

2020-04-09T13:29:22.582+0800  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, ext_01.prm:  PROCESS ABENDING.

解决方案: 添加ext_01时指定INTEGRATED

添加抽取进程

---add extract ext_01,tranlog,begin now

---delete extract ext_01 

ADD EXTRACT ext_01,INTEGRATED TRANLOG,BEGIN NOW

三:添加pump进程失败 

错误: ERROR: Invalid group name (must be at most 8 characters).

GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 10> add extract extpump_01,exttrailsource /ogg/dirdat/rt

ERROR: Invalid group name (must be at most 8 characters).

解决方案: 进程名不能大于8个字符,将extpump_01改成pump_01

GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 10> add extract pump_01,exttrailsource /ogg/dirdat/rt

四:启动应用进程rep_01失败

错误: Checkpoint table chenpdb.ogg.checkpoint does not exist

2020-04-09T13:49:54.378+0800  ERROR   OGG-00446  Oracle GoldenGate Delivery for Oracle, rep_01.prm:  Checkpoint table chenpdb.ogg.checkpoint does not exist. Create this table with the ADD CHECKPOINTTABLE command.

解决方案 : 

检查在设置./GLOBALS时表名为chenpdb.ogg.ggschkpt,添加rep_01进程时错写成了chenpdb.ogg.ggschkpt,导致后来启动rep_01失败,删除rep_01重新添加即可

add replicat rep_01,exttrail /ogg/dirdat/mb, CHECKPOINTTABLE chenpdb.ogg.ggschkpt

 

posted on 2021-04-19 11:36  ~沉%淀~  阅读(335)  评论(0编辑  收藏  举报