Oracle GoldenGate is a comprehensive software package for real-time data integration and replication of data across heterogeneous IT environments. The product set supports high availability solutions, real-time data integration, transactional change data capture, data replication between operational and analytical enterprise systems, transformation, and validation. Oracle GoldenGate 12c delivers extreme performance through simplified configuration and management, tighter integration with Oracle Database, support for cloud environments, extended heterogeneity, and enhanced security.
The Extract Process is used to read the Online Redo Log or Archive Log on the source system side, and then parse it to extract only the changes in the data, such as addition, deletion, and modification operations, and convert the relevant information into a customized intermediate format of GoldenGate TDM and store it in a trail file. The transmission process is then used to transmit the trail file to the target system via TCP/IP. After each reading of the data changes in the log and after the data is transmitted to the target system, the Extract Process will write a checkpoint to record the current position of the captured log. The existence of the checkpoint allows the Extract Process to continue copying from the checkpoint position after aborting and resuming.
The target system accepts data changes and caches them in the GoldenGate TDM queue, which is a series of files that temporarily store data changes and wait for the delivery process to read the data.
The GoldenGate TDM delivery process (replicat process) reads data changes from the queue and creates corresponding SQL statements, which are executed through the local interface of the database. After being successfully submitted to the database, it updates its own checkpoint and records the location where the replication has been completed. The data replication process is finally completed.
It can be seen that GoldenGate TDM is a software-based data replication method that analyzes data changes from the database log (the amount of data is only about a quarter of the log). GoldenGate TDM converts data changes into its own format and transmits them directly through the TCP/IP network without relying on the database's own transmission method. It can also compress data with a compression ratio of up to 10:1, which can greatly reduce bandwidth requirements. On the target side, GoldenGate TDM can greatly speed up the speed and efficiency of data delivery through technical means such as transaction reorganization and batch loading, reduce the resource usage of the target system, and can achieve the replication of large amounts of data at the sub-second level, and the target database is active.