【gg notes】config gg for windows x86 32bit ,single node
1, Prepare the install environment
OS: windows XP(x86-32-bit)
DB: Oracle11R2
GG: ggs_Windows_x86_ora11g_32bit
Network: single node test
2, Download GG for windows x86-32-bit-edition, just for test
This is the web link:
http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
3, Extract file to your path
Like:
C:\gg
4, Alter database archivelog
Oracle GG need database running on archive mode
Need perform. these commands:
Shutdown immediate;
Startup mount;
Alter database archivelog;
Alter database open;
5, Create test user and tables
Create user ggs identified by ggs;
Create user ggt identified by ggt;
Grant dba to ggs;
Grant dba to ggt;
Conn ggs/ggs
Create table test(
Stu_id number(6),
Stu_name varchar2(20),
Stu_pass varchar2(20)
);
Conn ggt/ggt;
Create table test(
Stu_id number(6),
Stu_name varchar2(20),
Stu_pass varchar2(20)
);
6, Config golden gate
1) Create file path
Access path c:\gg
Execute ggsci.exe
In ggsci command,execute:
Create subdirs ---only for the first config operation
2) Modify params for manager process(mgr)
Edit param mgr
Content:
Port 7809 --set the manager running port
Can use command:
Start mgr
To start the mgr process
Can use command :
Info all
To see the status of mgr running
3) Add supplemental logging for table, both source and target
4) Add and edit params for extract progress
Command:
Add extract ext1,tranlog,begin now
Edit param ext1
Param Contents:
Userid ggs,password ggs
Rmthost 127.0.0.1 mgrport 7809
Rmttrail C:\gg\dirdat\r1
Dynamicresolution
Table ggs.test
Add remote list
Add rmttrail C:\gg\dirdat\r1,extract ext1,megabyte 100
5) Add and edit replicat process param
Add replicat rep1,exttrail C:\gg\dirdat\r1,modebcheckpoint
Edit param rep1
Rep1.prm contents:
Userid ggt,password ggt
Assumetargetdefs
Discardfile C:\gg\dirdatrep1.dsc,append
MAP ggs.*,TARGET ggt.*
6) Start progress
Start extract progress:
Start ext1
Start replicat progress
Start rep1
Check the progress running
Info all
7) Testing
Conn ggs/ggs
Insert into test select 1,’aa’,’pass1’ from dual;
Insert into test select 2,’bb’,’pass2’ from dual;
Commit;
few seconds later:
conn ggt/ggt
select * from test;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16179598/viewspace-758543/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Go語言繪圖】gg 庫的基本使用Go繪圖
- GG修改器修改美食大戰老鼠手遊
- 又一款開源圖示庫 CSS.GG,值得一用CSS
- GG 戰隊冠軍慶典落地成都,CC直播電競版圖持續擴張
- 3.Hadoop Single Node Cluster安裝Hadoop
- ogg oracle 同步mysql的一個莫名其妙的語法錯誤排查GG-00768 SQL error (1064)OracleMySqlError
- Windows Kernel Exploitation Notes(一)——HEVD Stack OverflowWindows
- 《Windows 10 Control Flow Guard Internals》 Reading NotesWindows
- 使用 node-config 在 Node.js 中建立配置檔案Node.js
- Windows Kernel Exploitation Notes(二)——HEVD Write-What-WhereWindows
- pkg-config 在windows 上面的安裝。Windows
- Mongodb NotesMongoDB
- Typora Notes
- ACM notesACM
- hadoop官網翻譯第二天Setting up a Single Node Cluster.Hadoop
- 【Node.js】windows安裝nvm-windowsNode.jsWindows
- [Ruby Notes] Proc
- [Bun] Bun notes
- WireGuard Use Notes
- Redis Reading NotesRedis
- Windows(x86)頁表與虛擬空間之我見Windows
- Make編譯之編譯32bit ffmpeg編譯
- CentOS6.5基於ROOT使用者的HDFS偽分散式部署(a Single Node Cluster)CentOS分散式
- CentOS6.5基於Hadoop使用者的Yarn偽分散式部署(a Single Node Cluster)CentOSHadoopYarn分散式
- CentOS6.5基於Hadoop使用者的HDFS偽分散式部署(a Single Node Cluster)CentOSHadoop分散式
- windows下升級node&npmWindowsNPM
- windows下安裝Node.jsWindowsNode.js
- Recommendation Systems Basic Notes
- Reinforcement Learning Basic Notes
- c++stl notesC++
- 靜態分析詐欺術: Windows x86下IDA Pro混淆技巧Windows
- 136. Single Number
- nvm for windows切換node版本無效Windows
- 【虛擬機器】Windows(x86)上部署ARM虛擬機器(Ubuntu)虛擬機WindowsUbuntu
- Windows下x86和x64平臺的Inline Hook介紹WindowsinlineHook
- TiDB 2.1 GA Release NotesTiDB
- Notes about Vue Style GuideVueGUIIDE
- Travel Notes-Record mood
- Based UE_Project NotesProject