【goldengate】官方文件筆記三 Oracle GoldenGate 實時報表
這篇文件循序漸進的講述了OGG在適時複製的幾種配置方案。從最基本的配置開始講起,逐漸加入新的程式,加入新的策略,配置也隨之改變。下面從最基礎的配置說起。
報表配置
一對一複製是OGG最基本的配置方案:從源端資料庫到目標資料庫複製資料。在目標端從事報表和分析工作,實現OLTP和OLAP分離。
建立一個標準的報表配置
標準的OGG配置是一個提取組(Extract group)將捕獲的資料通過TCP/IP傳送給目標系統的trail檔案中,複製組(Relicat group)從trail中讀取資料,執行sql語句重演DML和DDL語句,實現資料的同步複製。
SOURCEdb ---> EXTRACT ---> TCP/IP ---> RMTTRAIL ---> REPLICAT ---> TARGETdb
源端系統
配置管理程式(Manager process)
1,在源端配置管理程式,參見筆 【goldengate】官方文件筆記一
http://blog.itpub.net/29047826/viewspace-1249506/
配置提取程式組(Extract group)
2,在源端,使用ADD EXTRACT 命令來建立一個提取組(Extract group),取名為ext
ADD EXTRACT, {TRANLOG | INTEGRATED TRANLOG}, BEGIN
3,在源端,使用ADD RMTTRAIL命令來在目標系統上指定目標主機的trail檔案(remote trail)。引數EXTRACT將trail檔案和提取組向關聯。
ADD RMTTRAIL, EXTRACT
4,在源端,使用EDIT PARAMS命令為提取組(Extract group)建立引數檔案。
-- 為提取組指定名稱 EXTRACT
-- OGG管理使用者登入資料的使用者名稱和密碼
[SOURCEDB][, USERID [, PASSWORD []]
-- 指定目標系統的IP地址,埠號和加密方式
RMTHOST, MGRPORT , ENCRYPT
-- 指定遠端trail和加密方式
ENCRYPTTRAIL [] RMTTRAIL
-- 指定要捕獲的表 TABLE.;
報表配置
一對一複製是OGG最基本的配置方案:從源端資料庫到目標資料庫複製資料。在目標端從事報表和分析工作,實現OLTP和OLAP分離。
建立一個標準的報表配置
標準的OGG配置是一個提取組(Extract group)將捕獲的資料通過TCP/IP傳送給目標系統的trail檔案中,複製組(Relicat group)從trail中讀取資料,執行sql語句重演DML和DDL語句,實現資料的同步複製。
SOURCEdb ---> EXTRACT ---> TCP/IP ---> RMTTRAIL ---> REPLICAT ---> TARGETdb
源端系統
配置管理程式(Manager process)
1,在源端配置管理程式,參見筆 【goldengate】官方文件筆記一
http://blog.itpub.net/29047826/viewspace-1249506/
配置提取程式組(Extract group)
2,在源端,使用ADD EXTRACT 命令來建立一個提取組(Extract group),取名為ext
ADD EXTRACT
3,在源端,使用ADD RMTTRAIL命令來在目標系統上指定目標主機的trail檔案(remote trail)。引數EXTRACT將trail檔案和提取組向關聯。
ADD RMTTRAIL
4,在源端,使用EDIT PARAMS命令為提取組(Extract group)建立引數檔案。
-- 為提取組指定名稱 EXTRACT
-- OGG管理使用者登入資料的使用者名稱和密碼
[SOURCEDB
--
RMTHOST
-- 指定遠端trail和加密方式
ENCRYPTTRAIL [
-- 指定要捕獲的表 TABLE
相關文章
- 【goldengate】官方文件筆記四 Oracle GoldenGate實時資料分佈Go筆記Oracle
- 【goldengate】官方文件筆記五 Oracle GoldenGate實時資料倉儲Go筆記Oracle
- 【goldengate】官方文件筆記二 Oracle GoldenGate 處理介面(GGSCI)Go筆記Oracle
- 【goldengate】官方文件筆記一 配置Manager和網路連線Go筆記
- Oracle GoldenGate 11g官方文件Administrator’s Guide續三OracleGoGUIIDE
- goldengate實施文件Go
- GoldenGate筆記Go筆記
- 【GoldenGate】Oracle GoldenGate(三) DDL同步配置GoOracle
- goldengate版本及官方文件下載地址Go
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- Oracle GoldenGate安裝(三)OracleGo
- 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
- Oracle GoldenGate 簡單實驗OracleGo
- 利用Oracle GoldenGate記錄源系統所有表的操作OracleGo
- goldengate對oracle臨時表的同步GoOracle
- 【GoldenGate】Oracle GoldenGate(二) 雙向同步配置GoOracle
- Oracle GoldenGate DirectorOracleGo
- oracle goldengate 配置OracleGo
- Oracle GoldenGate Best Practice - sample parameter files (文件 ID 1321696.1)OracleGo
- GoldenGate學習筆記(10)_RAC環境Go筆記
- GoldenGate學習筆記(11)_常用引數Go筆記
- About the Oracle GoldenGate TrailOracleGoAI
- oracle goldengate維護OracleGo
- Oracle GoldenGate: 使用巨集OracleGo
- GoldenGate Oracle MSSQL DateGoOracleSQL
- Goldengate單表新增同步Go
- oracle goldengate 配置DML&DDL實驗OracleGo
- oracle goldengate專案實施結束OracleGo
- vue 按照官方文件引入element-ui樣式表時報錯VueUI
- 【GoldenGate】Oracle GoldenGate Veridata 安裝配置與應用GoOracle
- GoldenGate學習筆記(4)_程式配置與管理Go筆記
- GoldenGate學習筆記(9)_常見問題Go筆記
- 使用GoldenGate 實現Oracle for Oracle 單向資料同步(實現表的DML操作同步)GoOracle
- goldengate部署實施Go
- Oracle GoldenGate安裝(一)OracleGo