您好,登錄后才能下訂單哦!
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",共同學習,共同成長!!!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。