Change Log Chunk Comparison for Real-Time Database Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for comparing databases in redundant systems are resource-intensive and time-consuming, limiting their effectiveness in ensuring continuous synchronization, and cannot identify discrepancies in real-time, especially in large databases.

Innovation Solution

Utilizing Change Logs to compare only the changes made or to be made to synchronized databases, focusing on chunks of data that have changed, thereby reducing system resource usage and enabling real-time identification of discrepancies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional database comparison methods are used to ensure synchronization between redundant databases, then database consistency can be verified, but the process consumes excessive system resources and time, making it impractical for large databases and real-time requirements

Engineering Contradiction:
Improvedatabase synchronization consistencyVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the changed data portions from the databases for comparison, rather than comparing entire databases. Change logs capture and store only the modified data chunks, which are then used for synchronization verification. This extraction approach reduces the comparison scope from the entire database to just the changed portions, significantly lowering resource consumption while maintaining reliability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the database comparison process into manageable chunks based on change logs. Instead of treating the database as a single large unit requiring full comparison, it divides the verification task into smaller segments representing individual change operations. This segmentation allows incremental verification of database synchronization, reducing the computational burden on system resources.

Inventive Principle:
Principle #1Segmentation

2Reliability

If traditional database comparison methods are used to verify synchronization, then consistency can be confirmed, but the process is too time-consuming to identify discrepancies in real-time

Engineering Contradiction:
Improvedatabase synchronization consistencyVSAvoidtime to identify discrepancies
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by maintaining change logs that continuously capture and store data modifications as they occur. Instead of waiting to compare entire databases after changes are made, the system proactively records change information in real-time. This preliminary capture of change data enables immediate verification of synchronization status without requiring time-consuming full database comparisons.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements continuous monitoring and comparison of change logs to maintain real-time awareness of database synchronization status. Rather than performing periodic batch comparisons, the system continuously tracks changes and verifies synchronization as modifications occur. This continuous action ensures discrepancies are identified immediately, eliminating the time delay associated with traditional periodic comparison methods.

Inventive Principle:
Principle #20Continuity of useful action

3Productivity

If change logs are used to compare only changed data portions, then resource consumption is reduced and real-time comparison becomes feasible, but the complexity of implementing and managing change log systems increases

Engineering Contradiction:
Improvecomparison speed and efficiencyVSAvoidchange log system implementation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces change logs as an intermediary structure between the database and the comparison process. Instead of directly comparing database contents or implementing complex real-time monitoring of all database operations, the change log serves as a mediator that captures, stores, and organizes change information in a manageable format. This intermediary layer simplifies the comparison task while enabling efficient resource utilization and real-time verification capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12541535B1Method for using chunks of change log data for comparing a source and a target database which are actively being kept in synchronization with each other
Publication Date: 2026.02.03 GRAVIC
  • US12541535B1 patent drawing
  • US12541535B1 patent drawing
  • US12541535B1 patent drawing

AI summary

An automated method is provided for comparing a source database and a target database that are intended to be kept in synchronization with each other. An application processes transactions that are posted to the source database, and a synchronization process processes transactions that are posted to the target database. Change log data is chunked from a change log associated with the source database to create first chunks of change log data. Change log data is also chunked from a change log associated with the target database to create second chunks of change log data. A comparison engine compares representations of the first chunks of change log data with representations of the second chunks of change log data, wherein the second chunks of change log data correspond to the same respective first chunks of change log data that were made to the source database and kept in synchronization with the target database via the synchronization process. The source database and the target database are presumed to be in synchronization with each other via the synchronization process when the comparison indicates that the representations of the first chunks of change log data match the representations of the second chunks of change log data. The source database and the target database are presumed not to be in synchronization with each other when the comparison indicates that the representations of the first chunks of change log data do not match the representations of the second chunks of change log data. An action is performed when the comparison indicates that the representations of the first chunks of change log data do not match the representations of the second chunks of change log data. The action may be a corrective action that resynchronizes the target database with the source database, or that suspends or stops the application from processing transactions.