Placeholder
1. Source Creation Extract
Add extract Ext1,tranlog, begin now
Add Exttrail/u01/ggate/dirdat/lt, extract Ext1
View params Ext1
2. SOURCE Creation Pump
Add Extract Dpump,exttrailsource/u01/ggate/dirdat/lt
Add Rmttrail/u01/ggate/dirdat/lt, extract Dpump
View params dpump
3. Target Create Replicat
3.1 Checkpoint of the configuration process
Edit params./global
Ggschema ggate
Checkpointtable Ggate.checkpoint
3.2 ggate user connecting DB, creating checkpoint table in db
Add Checkpoint Tableggate.checkpoint
3.3 Creating Replicat Group
Add Replicatrep1,exttrail/u01/ggate/dirdat/lt, Checkpointtable ggate.checkpoint
3.4 Modifying parameters
View params REP1
4. Start the Extract/dump/replicat process
5. Testing
Start Ext1
Info Ext1
Info Dpump
Start REP1
Info REP1
Verify that:
--source DB:
Sql> Conn Dave/dave;
Connected.
Sql> Select COUNT (*) from PDBA;
COUNT (*)
----------
2706623
--target DB:
Sql> Select COUNT (*) from PDBA;
COUNT (*)
----------
2706623
Insert a piece of data in source DB:
sql> INSERT into PDBA values (2,sysdate);
1 row created.
Sql> commit;
Commit complete.
Sql> Select COUNT (*) from PDBA;
COUNT (*)
----------
2706624
To target DB query:
Sql> Select COUNT (*) from PDBA;
COUNT (*)
----------
2706624
Reference http://www.cnblogs.com/shined/archive/2012/07/12/2587648.html
Dba_oracle goldengate Three steps Dump/extract/relicat