Oracle 19C OGG基礎(chǔ)運(yùn)維-04DML同步常見問題
成都創(chuàng)新互聯(lián)專注為客戶提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計(jì)、灤平網(wǎng)絡(luò)推廣、成都微信小程序、灤平網(wǎng)絡(luò)營(yíng)銷、灤平企業(yè)策劃、灤平品牌公關(guān)、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運(yùn)營(yíng)等,從售前售中售后,我們都將竭誠為您服務(wù),您的肯定,是我們最大的嘉獎(jiǎng);成都創(chuàng)新互聯(lián)為所有大學(xué)生創(chuàng)業(yè)者提供灤平建站搭建服務(wù),24小時(shí)服務(wù)熱線:028-86922220,官方網(wǎng)址:www.cdcxhl.com
一:源端添加檢查點(diǎn)失敗
錯(cuò)誤: 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.
解決方案: 用戶前指定數(shù)據(jù)庫名
GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 2> ADD CHECKPOINTTABLE CDB$ROOT.c##ogg.ggschkpt
二:?jiǎn)?dòng)抓取進(jìn)程ext_01失敗
錯(cuò)誤: 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時(shí)指定INTEGRATED
添加抽取進(jìn)程
---add extract ext_01,tranlog,begin now
---delete extract ext_01
ADD EXTRACT ext_01,INTEGRATED TRANLOG,BEGIN NOW
三:添加pump進(jìn)程失敗
錯(cuò)誤: 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).
解決方案: 進(jìn)程名不能大于8個(gè)字符,將extpump_01改成pump_01
GGSCI (cjcos01 as c##ogg@cjcdb/CDB$ROOT) 10> add extract pump_01,exttrailsource /ogg/dirdat/rt
四:?jiǎn)?dòng)應(yīng)用進(jìn)程rep_01失敗
錯(cuò)誤: 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.
解決方案 :
檢查在設(shè)置./GLOBALS時(shí)表名為chenpdb.ogg.ggschkpt,添加rep_01進(jìn)程時(shí)錯(cuò)寫成了chenpdb.ogg.ggschkpt,導(dǎo)致后來啟動(dòng)rep_01失敗,刪除rep_01重新添加即可
add replicat rep_01,exttrail /ogg/dirdat/mb, CHECKPOINTTABLE chenpdb.ogg.ggschkpt
歡迎關(guān)注我的微信公眾號(hào)"IT小Chen",共同學(xué)習(xí),共同成長(zhǎng)?。?!