Oracle Goldengate Learning Goldengate Introduction

Source: Internet
Author: User

Introduction to Oracle Goldengate Learning goldengate (2012-10-02-17:07:27)
Tags: checkpoint data transfer Queue process Category: Goldengate

Goldengate Introduction

GoldenGate TDM (transaction data management) software is a log-based structured data replication software, which through the analysis of the source database online log or archive log to obtain data deletion and change, and then apply these changes to the target database, to achieve the source database and the target database synchronization, dual-live. GoldenGate TDM Software enables a large amount of data sub-second real-time replication between heterogeneous IT infrastructures, including almost all common operating system platforms and database platforms, with a simplified copy of the following:

Goldengate goldengate Introduction to "title=" Oracle goldengate learning goldengate Introduction >
As shown, the data replication process for GoldenGate TDM is as follows:

Using the capture process to read the online Redo log or Archivelog on the source system, and then parse it, extract only the changes in the data such as add, delete, change operation, and convert the relevant information to GOLDENGATETDM custom intermediate format is stored in the queue file. The transfer process is then used to transfer the queue file over TCP/IP to the target system. The capture process, after each reading of the data in log and after the data is transferred to the target system, writes a checkpoint, records the log position of the current completed capture, and the presence of the checkpoint allows the capture process to continue copying from the checkpoint location after it is aborted and resumed;

The target system accepts data changes and caches to the GOLDENGATETDM queue, which is a series of files that temporarily store data changes, waiting for the delivery process to read the data;

The GOLDENGATETDM delivery process reads the data changes from the queue and creates the corresponding SQL statements, executes through the database's local interface, submits to the database successfully, updates its checkpoint, records the location where replication has completed, and the data replication process is finalized.

Thus, GOLDENGATETDM is a software-based approach to data replication that parses data from the database's logs (data volumes are only about One-fourth of the log). GOLDENGATETDM data changes into its own format, directly through the TCP/IP network transmission, without relying on the database itself, and can be compressed by up to 9:1 compression rate, can greatly reduce the bandwidth requirements. On the target side, GOLDENGATETDM can greatly accelerate the speed and efficiency of data delivery, reduce the resource consumption of target system, and realize the replication of large amount of data at sub-second level by means of trade reorganization, batch loading and other technology, and the target database is active

GoldenGate TDM provides a flexible application solution based on its advanced, flexible technology architecture that can compose a variety of topologies based on user requirements:

Goldengate goldengate Introduction "title=" Oracle goldengate Learning goldengate Introduction "height=" 597 "width=" 641 ">

GoldenGate TDM provides reliable data replication, mainly in the following three points:

Ensure transactional consistency

GoldenGate TDM Application replication database transactions in the disaster recovery database are in the same order as in the production Center database and submitted in the same transactional environment, ensuring the integrity and read consistency of the data on the target system, creating conditions for real-time query and transaction processing.

Checkpoint mechanism ensures no loss of data.

The GOLDENGATETDM extraction and replication process uses the checkpoint mechanism to record where the replication has completed. For the extraction process, its checkpoint records the location of the currently extracted log and the location of the write queue file, and for the delivery process, its checkpoint records the location of the current read queue file. The checkpoint mechanism ensures that no data is lost after a system, network, or GOLDENGATETDM process failure is restarted.

Reliable data transfer mechanism

GoldenGate TDM transmits transaction data using a response mechanism, the data is not considered complete until the confirmation message is received, otherwise it is automatically retransmitted, guaranteeing that all the extracted data can be sent to the backup side. 128-bit encryption and data compression are supported during data transfer.

GoldenGate TDM provides reliable data replication, mainly in the following three points:

Ensure transactional consistency

GoldenGate TDM Application replication database transactions in the disaster recovery database are in the same order as in the production Center database and submitted in the same transactional environment, ensuring the integrity and read consistency of the data on the target system, creating conditions for real-time query and transaction processing.

Checkpoint mechanism ensures no loss of data.

The GOLDENGATETDM extraction and replication process uses the checkpoint mechanism to record where the replication has completed. For the extraction process, its checkpoint records the location of the currently extracted log and the location of the write queue file, and for the delivery process, its checkpoint records the location of the current read queue file. The checkpoint mechanism ensures that no data is lost after a system, network, or GOLDENGATETDM process failure is restarted.

Reliable data transfer mechanism

GoldenGate TDM transmits transaction data using a response mechanism, the data is not considered complete until the confirmation message is received, otherwise it is automatically retransmitted, guaranteeing that all the extracted data can be sent to the backup side. 128-bit encryption and data compression are supported during data transfer.

Oracle's Goldengate products enable data capture, transformation, and delivery of large amounts of data across heterogeneous IT infrastructures. Goldengate can support almost all common operating systems such as and database platforms, as shown in the following table:

Operating system

Database

MS NT, +, XP, Linux, Sun Solaris, HP-UX, Ibmaix, HP NonStop, TRU64, IBM z/os,os/390

Oracle, DB2, MS SQL Server, MySQL, ENSCRIBE,SQL/MP, Sql/mx, Sybase, Teradata, other ODBC-compatible databases

Oracle goldengate Learning goldengate Introduction

Related Article

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.