Real-Time Database Replication via Log File Transmission

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database replication systems, such as Oracle DBMS, increase the load on the source server by using data extractors to transmit changed-data, and require additional hardware costs for maintaining archive logs, complicating failure recovery.

Innovation Solution

The system minimizes source server load by transmitting redo and archive log files in real-time from the source to the target server, where they are temporarily stored and replicated, eliminating the need for data extraction and reducing hardware requirements by using log synchronization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data extractor is used to transmit changed-data from source to target server, then data replication is achieved, but load on source server increases

Engineering Contradiction:
Improvedata replication capabilityVSAvoidsource server load
Core Design Contradiction:
ProductivityVSPower

Solution Approach 1:

The patent extracts the log file transmission function from the source server's data extraction process. Instead of extracting changed-data through complex queries and transmissions that burden the source server, the system extracts and transmits only the necessary log files (redo logs and archive logs) that contain the change information, significantly reducing the source server's processing load while maintaining replication capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces log files as an intermediary mechanism between the source and target servers. Rather than direct data extraction and transmission, the log files serve as a buffer and transmission medium, allowing the source server to write changes to logs without direct interaction with the target server, thus reducing the source server's operational load.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If archive log storage is implemented for data replication, then data synchronization is maintained, but hardware costs increase

Engineering Contradiction:
Improvedata synchronizationVSAvoidhardware resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent makes the log files serve multiple functions: they act as transaction logs for data integrity, as transmission media for replication, and as backup storage for recovery. This multi-functionality eliminates the need for separate dedicated storage systems for each purpose, reducing overall hardware requirements while maintaining data synchronization and reliability.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent merges the functions of data logging, data transmission, and data backup into a single log file system. By combining these functions, the system reduces the total hardware resources needed compared to having separate systems for each function, while still achieving reliable data synchronization between source and target servers.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If complex data extraction and transmission process is used, then data replication is achieved, but system complexity increases

Engineering Contradiction:
Improvedata replicationVSAvoidreplication system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the data replication process into distinct, manageable components: log file generation by the source server, log file transmission through the network, and log file processing by the target server. This segmentation simplifies each individual component's complexity while maintaining the overall replication functionality, making the system easier to implement and maintain.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10795911B2Apparatus and method for replicating changed-data in source database management system to target database management system in real time
Publication Date: 2020.10.06 DATASTREAMS
  • US10795911B2 patent drawing
  • US10795911B2 patent drawing
  • US10795911B2 patent drawing

AI summary

Provided are an apparatus and a method for replicating changed-data in a source database management system to a target database management system in real time, for minimizing the load on the source DBMS system, reducing costs for DBMS hardware configuration, and facilitating operation and failure recovery. The source server transmits the changed-data from a redo log file or an archive log file in a source DBMS area to a target server in real time, and the target server receives the changed-data transmitted from the source server to temporarily store the changed-data in a local area, and extracts the change data stored in the local area to replicate the extracted changed-data to the target DBMS, thereby implementing the apparatus for replicating the changed-data in the source database management system to the target database management system in real time.