【正文】
綜上所述,GoldenGate同流復(fù)制比較起來的亮點還是在異構(gòu)上,不過Oracle官方的說法是以后一流的Streams技術(shù)將被集成到GoldenGate中,這也是其發(fā)展的趨勢,其價值對于我們用戶的應(yīng)用來說,還是很值得繼續(xù)深入研究。3.在進(jìn)行應(yīng)用進(jìn)程的參數(shù)配置時候發(fā)現(xiàn),對于特別多的表復(fù)制,暫時不清楚GoldenGate是否有限制,因為啟動的時候,我配置參數(shù)對ZLHIS所有表進(jìn)行復(fù)制的時候,會提示“”錯誤,但是如果只對少數(shù)表或者單個表復(fù)制的時候,又不出現(xiàn)該提示,這個問題正在核實。缺點:1. 官方的軟件目前都只支持64位系統(tǒng)。3. 支持異構(gòu)復(fù)制,如不同用戶,不同數(shù)據(jù)庫平臺的復(fù)制,這也是其亮點所在。2. Total operations *** Latest statistics since 20100126 04:46:57 *** Total discards Total deletes Total updates Total inserts Total operations *** Daily statistics since 20100126 04:46:57 *** Total discards Total deletes Total updates Total insertsEnd of Statistics.切換到目標(biāo)數(shù)據(jù)庫環(huán)境,同樣查看接受應(yīng)用進(jìn)程。 Total discards Total deletesTotal updates Total inserts No database operations have been performed.*** Hourly statistics since 20100126 03:00:00 *** Total discards Total deletes Total updates Total inserts Total operations Output to /u01/ggs/dirdat/re:Extracting from to :*** Total statistics since 20100126 02:14:25 *** Total discards Total deletes Total updates Total inserts Total discards Total deletes Total updates Total inserts Total discards Total deletes Total updates Total inserts Total discards Total deletes Total updates Total inserts查看抽取進(jìn)程狀態(tài):GGSCI stats 00:00:00 ZLR_01 RUNNING Status RBA 0查看下狀態(tài):GGSCI info allProgram File ZLR_01在Target系統(tǒng)中,執(zhí)行如下命令GGSCI start replicat ZLR_01Verify the results:GGSCI info replicat ZLR_01REPLICAT在目標(biāo)系統(tǒng)(Target system)上執(zhí)行如下命令增加一個復(fù)制組(Replicat Group)GGSCI DBLOGIN USERID goldengateorcl2, PASSWORD goldengateGGSCIadd replicat ZLR_01, EXTTRAIL ./dirdat/la , nodbcheckpoint注,我這個中配置Extract process那個示例對應(yīng)的,所以這里的exttrail文件名正好是Extract process中定義的RMTTRAIL ./dirdat/la這點需要大家注意.GGSCI edit param ZLR_01增加如下內(nèi)容并保存退出REPLICA