Dba_oracle goldengate Three steps Dump/extract/relicat

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.