Non-disruptive Database Backup During Online Reorganization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database management systems do not allow for the creation of backup copies during online reorganization, as it disrupts the reorganization process and prevents access to the dataset, due to the need for a stable cursor and lack of mechanisms for registering source and target datasets.

Innovation Solution

A method to create a non-disruptive backup copy of a dataset undergoing online reorganization by reading an input image copy, determining a cursor value associated with reorganization, and producing a backup copy that includes a first area to reconstruct the target image copy and a second area to reconstruct the source image copy based on the cursor, allowing for backup without disrupting the reorganization process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a backup copy is created during online reorganization, then backup availability is improved, but system stability deteriorates due to cursor instability

Engineering Contradiction:
Improvebackup availabilityVSAvoidcursor stability
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The backup copy is divided into two distinct areas: a first area containing blocks from the source dataset and a second area containing blocks from the target dataset. The cursor value segments the block sequence into two portions, allowing the backup to capture the reorganization state without requiring complete cursor stability throughout the entire dataset.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The backup copy structure dynamically adapts to the changing cursor position during online reorganization. By incorporating blocks from both source and target datasets in different areas, the backup remains valid even as the cursor moves and reorganization progresses, eliminating the need for a static stable cursor.

Inventive Principle:
Principle #15Dynamics

2Productivity

If online reorganization is performed, then dataset maintenance is improved, but backup creation capability deteriorates

Engineering Contradiction:
Improvedataset maintenance efficiencyVSAvoidbackup creation capability
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The backup copy serves multiple functions simultaneously: it captures the dataset state for backup purposes while also documenting the reorganization progress. The structured format with source and target areas provides both backup functionality and reorganization tracking, eliminating the need to pause reorganization for backup operations.

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

3Loss of information

If a complete image copy is made during reorganization, then backup completeness is improved, but reorganization disruption increases

Engineering Contradiction:
Improvebackup completenessVSAvoidreorganization interruption
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The backup copy is constructed by gathering blocks from both source and target datasets according to the current cursor position, rather than attempting to create a complete copy of the entire reorganized dataset. This preliminary capture of relevant blocks in a structured format achieves sufficient backup completeness without requiring the reorganization to complete first.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8015155B2Non-disruptive backup copy in a database online reorganization environment
Publication Date: 2011.09.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8015155B2 patent drawing
  • US8015155B2 patent drawing
  • US8015155B2 patent drawing

AI summary

Various embodiments of a computer system and computer program product backup a dataset. An input image copy of the dataset is read, wherein the input image copy is prior to a start of dataset reorganization. A cursor value associated with reorganization of said dataset is determined. A backup copy is produced based on the input image copy, the changes from the log and the cursor value.