Database Synchronization Using Compound Key Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Databases face challenges in maintaining data integrity during backup and recovery processes, leading to discrepancies and incorrect results in reporting and restoration, especially when using NoSQL databases that do not adhere to traditional transaction rules.

Innovation Solution

A method for verifying and correcting database backups by generating compound keys from source and target database records, comparing them to identify discrepancies, and updating the target database with only necessary records, either in batch or real-time, while handling NoSQL databases' unique characteristics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all database records are transferred during backup or update processes, then data integrity is ensured, but bandwidth usage and resource consumption increase significantly

Engineering Contradiction:
Improvedata integrityVSAvoidbandwidth usage
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the changed records from the source database using change data capture mechanisms, rather than transferring all records. This selective extraction maintains data integrity while significantly reducing bandwidth consumption during backup and synchronization operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary identification of changed records using timestamps and change tracking before the actual transfer process. This preliminary action allows the system to prepare a minimal dataset for transfer, ensuring completeness while optimizing resource usage.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the entire database is reloaded during verification, then data accuracy is confirmed, but system productivity and time consumption worsen

Engineering Contradiction:
Improvedata accuracyVSAvoidsystem productivity
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The verification process is segmented to operate on individual changed records rather than the entire database. The system divides the verification task into discrete units corresponding to specific changed records, allowing parallel processing and significantly improving productivity while maintaining verification accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial verification by checking only the changed records that require validation, rather than verifying the entire database. This partial action approach maintains data accuracy for critical records while avoiding the excessive time and resource consumption of full database verification.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If duplicate records are not filtered during transfer, then all changes are captured, but data quality deteriorates with duplicate entries

Engineering Contradiction:
Improvechange capture completenessVSAvoiddata quality
Core Design Contradiction:
Loss of informationVSManufacturing precision

Solution Approach 1:

The system implements feedback mechanisms using unique identifiers and timestamps to detect and filter duplicate records during the transfer process. Changed records are tracked and compared against existing records in the target database, with feedback loops that prevent duplicate insertions while ensuring all legitimate changes are captured.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system uses parameter changes in record identifiers (such as timestamp modifications and version numbers) to distinguish between updated records and duplicate entries. By tracking these parameter changes, the system can identify genuine updates versus duplicates, maintaining data quality while capturing all necessary changes.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11194769B2System and method for re-synchronizing a portion of or an entire source database and a target database
Publication Date: 2021.12.07 BANISTER RICHARD
  • US11194769B2 patent drawing
  • US11194769B2 patent drawing
  • US11194769B2 patent drawing

AI summary

A system and method to ensure the consistency of a data warehouse or backup database with a source database are described. The method alleviates issues of comparing two sets of the same data on disparate network systems and eliminates having to reload the entire target database or compare every field to ensure reasonable consistency of the contents. The process involves loading a unique record identifier, an optional record change timestamp, and an optional record archive field of a source database into a work file or temporary database table. Source work file records or temporary database tables records that do not exist in the target database or have timestamp mismatches are retrieved from the source database and added to or updated in the target database. Target database records that are archived or missing in the work file or temporary database table are archived or deleted from the target database.