Golden Gate concepts and mechanisms

Source: Internet
Author: User

1. What processes does Ogg have?

ÜManger: MangerA process is a control process of goldengate and runs on the source and target terminals respectively. It mainly serves to start, monitor, and restart other goldengate processes, report errors and events, and allocate data storage space, release the threshold report. Note that there is only one manger process on the source and target.

ÜExtract: ExtractThe process runs on the database source and is responsible for capturing data from the source data table or log. The role of extract can be divided into two phases: ① initial data loading phase: In the initial data loading phase, the extract process extracts data directly from the data table at the source end. ② Synchronization change capture phase: After data Initialization is complete, the extract process is responsible for capturing data changes (DML and DDL) at the source end ).

ÜPump: PumpThe process runs on the database source end. It sends the local trail files generated by the source end to the target end in the form of data blocks through the TCP/IP protocol, which is also recommended. The pump process is essentially a special form of extract process. If the trail file is not used, the extract process directly delivers the data to the target end to generate a remote trail file.

ÜCollector: CollectorThe process corresponds to the pump process and runs on the target end. This process does not need to be too concerned, because we do not need to configure it during actual operations, so it is transparent to us. Collector runs on the target end. Its job is to reassemble the data delivered by extract/pump into the path trail file.

ÜReplicat: ReplicatA process is usually called an application process and runs on the target end. It is the last battle of data transmission. It is responsible for reading the content of the trail file on the target end and parsing it into DML and DDL statements, then it is applied to the target database.

 

2. Data Flow Diagram of Ogg Data Replication

 

3. OggData replication mechanism

 

4. Simple Ogg configuration example

4.1Environment on both sides

 

4.2Configure the running environment (Source/target)

 

4.3Install goldengate software (Source/target)

 

 

 

 

4.4Configure the source database

 

 

4.5Configure the target database

 

 

 

4.6Configure the origin goldengate

 

 

 

4.7Configure the destination goldengate

 

 

4.8Start ext1 and rep1 on the source and target, and test the user

 

 

 

 

 

 

Golden Gate concepts and mechanisms

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.