Oracle 19C OGG基礎運維-04DML同步常見問題

chenoracle發表於2020-04-09

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

歡迎關注我的微信公眾號"IT小Chen",共同學習,共同成長!!!


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2685311/,如需轉載,請註明出處,否則將追究法律責任。

相關文章