Database Replication Copy for Clean Shutdown Snapshots

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database replication methods, such as snapshot techniques, often result in data being in a 'dirty shutdown' state, making it inaccessible without shutting down the native database application, which is impractical and costly.

Innovation Solution

A system and method for performing substantially continuous replication of a database, allowing for the generation of snapshots in a clean shutdown state without shutting down the native database application, enabling direct access and manipulation of replicated data using standard APIs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If snapshot techniques are used to preserve read-only copy of database data, then data protection and point-in-time imaging are improved, but the data is in a dirty shutdown state and inaccessible without shutting down the native database application

Engineering Contradiction:
Improvedata protectionVSAvoiddata accessibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a replication copy as an intermediary between the source database and the snapshot. The replication copy receives updates from the source database through transaction log replay, allowing snapshots to be taken from the replication copy instead of the source. This intermediary enables snapshots to be in a clean shutdown state while the source database remains online and accessible.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system separates the database into source database and replication copy, allowing independent operation. The replication copy can be snapshot without affecting the source database, enabling data protection while maintaining accessibility of the original system.

Inventive Principle:
Principle #1Segmentation

2Manufacturing precision

If the native database application is shut down to perform snapshot, then clean shutdown state is achieved, but system availability and productivity are reduced

Engineering Contradiction:
Improveshutdown state cleanlinessVSAvoidsystem availability
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The system performs preliminary replication of data to a replication copy before taking snapshots. This preliminary action ensures that the replication copy contains up-to-date data that can be snapshotted without shutting down the source database, maintaining both data integrity and system availability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The replication process operates continuously in the background, maintaining an up-to-date copy of the database. This continuous replication allows snapshots to be taken at any time without interrupting the source database operations, ensuring uninterrupted productivity.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If data shadowing and mirroring are used to create copies, then data protection is improved, but processing power consumption and storage space requirements increase significantly

Engineering Contradiction:
Improvedata protectionVSAvoidprocessing power consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent uses a replication copy that is updated through transaction log replay rather than continuous data shadowing or mirroring. This copying approach reduces processing overhead compared to real-time shadowing, as updates are applied in batches through log replay rather than continuously synchronizing every data change.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS9396244B2Systems and methods for managing replicated database data
Publication Date: 2016.07.19 COMMVAULT SYSTEMS INC
  • US9396244B2 patent drawing
  • US9396244B2 patent drawing
  • US9396244B2 patent drawing

AI summary

Systems and methods for replicating database data and generating read-only copies of the replicated data in a clean shutdown state. For example, systems can include a tracking module (e.g., a filter driver) that monitors transactions from a database application to a source storage device to generate log entries having at least one marker indicating a known good state of the application. The systems further include a computer coupled to a target storage device comprising a database and log files. The computer processes the transactions, based on the log entries, to replicate data to the target storage device; performs a first snapshot on data stored in the database and log files; replays into the database data stored in the log files; performs another snapshot on the database; and reverts the database back to a state in which the database existed at the time of the first snapshot.