Synchronized Target Database via Real-Time Transaction Log Replay

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for creating a backup database are inefficient as they often require taking the primary database offline, leading to downtime and storage issues with transaction logs that accumulate during the copying process, causing the backup system to fall behind the primary system.

Innovation Solution

A method to create a synchronized target database with an online source database without taking it offline, where updates are applied in real-time to both databases, and transaction logs are managed by immediately providing information to the target database, suppressing errors and ignoring duplicates to prevent log accumulation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If the primary database is taken offline to create a backup database, then data consistency is ensured, but system availability is reduced

Engineering Contradiction:
Improvedata consistencyVSAvoidsystem downtime
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by capturing and storing transaction log information in real-time before the backup process is initiated. This allows the backup database to be constructed without taking the primary database offline, as all necessary data changes are already recorded in the transaction logs.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention creates a copy of the primary database by applying transaction log information to a backup database. Instead of copying data directly from the primary database (which would require it to be offline), the system copies data by replaying transaction logs, thereby maintaining system availability while ensuring data consistency.

Inventive Principle:
Principle #26Copying

2Reliability

If data is copied from the primary database to the backup database, then backup is created, but transaction logs accumulate and exceed storage capacity

Engineering Contradiction:
Improvebackup creationVSAvoidtransaction log storage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system extracts only the necessary transaction information from the transaction logs and applies it to the backup database. Once the transaction log information has been successfully applied to the backup, the corresponding log entries are removed or archived, preventing unlimited accumulation of transaction logs.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The invention discards transaction log entries after their information has been successfully applied to the backup database. This allows the system to maintain an accurate backup while preventing transaction logs from accumulating beyond storage capacity, as old log entries are discarded after serving their purpose.

Inventive Principle:
Principle #34Discarding and recovering

3Manufacturing precision

If transaction logs are retained for a long period to ensure backup accuracy, then data integrity is maintained, but storage requirements increase significantly

Engineering Contradiction:
Improvedata integrityVSAvoidlog storage volume
Core Design Contradiction:
Manufacturing precisionVSVolume of stationary object

Solution Approach 1:

The system performs preliminary actions by continuously capturing transaction log information during the backup process. This ensures that all data changes are recorded before the backup is completed, maintaining data integrity without requiring long-term retention of transaction logs.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention discards transaction log entries after their information has been successfully applied to the backup database. This prevents excessive accumulation of transaction logs while ensuring that all necessary data changes are captured and applied, thereby maintaining data integrity with minimal storage requirements.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS7974943B2Building a synchronized target database
Publication Date: 2011.07.05 HEWLETT PACKARD ENTERPRISE DEV LP
  • US7974943B2 patent drawing
  • US7974943B2 patent drawing
  • US7974943B2 patent drawing

AI summary

One embodiment is a method that builds a target database with transaction logs from an online source database. The transaction logs include both existing data in the source database and updates that occur to the source database while the target database is being built.