【goldengate】官方文件筆記四 Oracle GoldenGate實時資料分佈
資料分佈配置是一對多得配置方案。OGG支援將源庫同步到多個目標系統。
資料分佈配置需要注意事項:
如果資料傳輸過程中,投遞程式(data pump)發現目標庫網路連線出現故障,捕獲到得資料會繼續像其它目標傳送。在源端使用一個初始抽取組(extractgroup)和一個投遞組(data pump extract group)對應多個目標資料庫。
建立資料分佈結構
源端系統
配置管理程式
1,在源端配置管理程式,參見筆 【goldengate】官方文件筆記一
http://blog.itpub.net/29047826/viewspace-1249506/
2,在管理程式引數檔案中,使用PURGEOLDEXTRACTS引數來控制本地trail檔案的清除工作。
配置初級提取程式
3,在源端,使用ADD EXTRACT命令來建立一個初級提取組。在這裡我們取名為ext。
ADD EXTRACT, {TRANLOG | INTEGRATED TRANLOG}, BEGIN
4,在源端,使用ADD EXTTRAIL命令來建立一個本地trail
ADD EXTTRAIL, EXTRACT
使用引數EXTRACT將提取組ext和trail相連結。提取組將資訊寫入trail,投遞組從trail中讀取。
5,在源端,使用EDIT PARAMS命令為初級提取組建立一個引數檔案。
-- Identify the Extract group:EXTRACT
-- Specify database login information as needed for the database:
[SOURCEDB][, USERID ][, PASSWORD []]
-- Specify the local trail that this Extract writes to
-
- and encryption options:
ENCRYPTTRAILEXTTRAIL
-- Specify tables to be captured:
TABLE.;
資料分佈配置需要注意事項:
如果資料傳輸過程中,投遞程式(data pump)發現目標庫網路連線出現故障,捕獲到得資料會繼續像其它目標傳送。在源端使用一個初始抽取組(extractgroup)和一個投遞組(data pump extract group)對應多個目標資料庫。
建立資料分佈結構
源端系統
配置管理程式
1,在源端配置管理程式,參見筆 【goldengate】官方文件筆記一
http://blog.itpub.net/29047826/viewspace-1249506/
2,在管理程式引數檔案中,使用PURGEOLDEXTRACTS引數來控制本地trail檔案的清除工作。
配置初級提取程式
3,在源端,使用ADD EXTRACT命令來建立一個初級提取組。在這裡我們取名為ext。
ADD EXTRACT
4,在源端,使用ADD EXTTRAIL命令來建立一個本地trail
ADD EXTTRAIL
使用引數EXTRACT將提取組ext和trail相連結。提取組將資訊寫入trail,投遞組從trail中讀取。
5,在源端,使用EDIT PARAMS命令為初級提取組建立一個引數檔案。
-- Identify the Extract group:EXTRACT
-- Specify database login information as needed for the database:
[SOURCEDB
-- Specify the local trail that this Extract writes to
-
- and encryption options:
ENCRYPTTRAIL
-- Specify tables to be captured:
TABLE
相關文章
- 【goldengate】官方文件筆記五 Oracle GoldenGate實時資料倉儲Go筆記Oracle
- 【goldengate】官方文件筆記三 Oracle GoldenGate 實時報表Go筆記Oracle
- 【goldengate】官方文件筆記二 Oracle GoldenGate 處理介面(GGSCI)Go筆記Oracle
- 【goldengate】官方文件筆記一 配置Manager和網路連線Go筆記
- 【GoldenGate】Oracle GoldenGate(四) 壓力測試同步百萬行資料GoOracle
- Oracle GoldenGate 11g官方文件Administrator’s Guide續四OracleGoGUIIDE
- goldengate實施文件Go
- GoldenGate筆記Go筆記
- goldengate版本及官方文件下載地址Go
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- Oracle GoldenGate 12c實時捕獲SQL Server資料OracleGoSQLServer
- Oracle Dataguard + Goldengate資料同步OracleGo
- oracle資料庫配置goldengate同步Oracle資料庫Go
- Oracle GoldenGate 11g官方文件Administrator’s Guide續三OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續二OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續一OracleGoGUIIDE
- STREAMS筆記(11) GoldenGate & Heterogeneous筆記Go
- GoldenGate實現oracle和sqlserver雙向資料同步GoOracleSQLServer
- oracle 資料透過goldengate 實時同步到kafka訊息佇列中OracleGoKafka佇列
- oracle goldengate實現欄位插入時間值OracleGo
- 【GoldenGate】Oracle GoldenGate(三) DDL同步配置GoOracle
- GoldenGate實時投遞資料到大資料平臺(6)– HDFSGo大資料
- GoldenGate實時投遞資料到大資料平臺(2)- CassandraGo大資料
- GoldenGate實時投遞資料到大資料平臺(1)-MongoDB大資料MongoDB
- GoldenGate實時投遞資料到大資料平臺(5) - KafkaGo大資料Kafka
- Oracle GoldenGate 簡單實驗OracleGo
- 資料複製_GoldenGateGo
- 【GoldenGate】Oracle GoldenGate(二) 雙向同步配置GoOracle
- Oracle GoldenGate 資料同步初始化最佳實戰(Data Pump)OracleGo
- 使用goldengate交付指定時間前的資料Go
- Oracle GoldenGate DirectorOracleGo
- oracle goldengate 配置OracleGo
- GoldenGate實時投遞資料到大資料平臺(7)– Apache HbaseGo大資料Apache
- GoldenGate實時投遞資料到大資料平臺(3)- Apache FlumeGo大資料Apache
- goldengate對oracle臨時表的同步GoOracle
- Oracle GoldenGate系統之----資料初始化OracleGo
- Oracle goldengate初始化資料注意事項OracleGo
- Oracle GoldenGate資料同步備份軟體概述OracleGo