Proactive Table Restore Script Generation During Database Backup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for restoring a single table in a database are inefficient and reactive, requiring the entire database to be restored before the table can be restored, and involve significant time and resources in generating a restore script after user request.

Innovation Solution

A method and apparatus that proactively generate T-SQL commands for restoring table data during the backup process, allowing for automated and efficient restoration of individual tables by identifying table data and generating restore scripts prior to user requests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire database is restored before a single table can be restored, then data integrity is maintained, but restoration time and resources increase significantly

Engineering Contradiction:
Improvedata integrityVSAvoidrestoration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the database restoration process into individual table-level operations. Instead of restoring the entire database as a single unit, the system identifies and restores only the specific table that needs restoration, while maintaining data integrity through selective processing of table segments from the backup image.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the specific table data from the complete database backup image. The system locates and isolates the required table's data within the backup, separating it from the rest of the database, and restores only that extracted portion, thereby avoiding the time cost of restoring unnecessary data.

Inventive Principle:
Principle #2Taking out (Extraction)

2Loss of energy

If the restore script is generated after user request, then resource usage is minimized, but productivity decreases due to reactive processing

Engineering Contradiction:
Improveresource usageVSAvoidrestoration efficiency
Core Design Contradiction:
Loss of energyVSProductivity

Solution Approach 1:

The patent performs preliminary actions by generating the restore script during the backup process itself, before any restoration is needed. The system creates and stores the restoration commands proactively, so that when a restoration request occurs, the script is already prepared and can be executed immediately, eliminating reactive delays.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If manual program creation is required to locate, strip and format table data, then flexibility is maintained, but device complexity and time requirements increase

Engineering Contradiction:
Improverestoration flexibilityVSAvoidprogram creation complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling the database management system to automatically locate, extract, format, and generate restore scripts for individual tables without requiring manual program creation. The system performs these operations autonomously during backup and restoration, eliminating the need for database administrators to write custom programs while maintaining flexibility through automated table-level operations.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8874519B1Method and apparatus for restoring a table in a database
Publication Date: 2014.10.28 COHESITY INC
  • US8874519B1 patent drawing
  • US8874519B1 patent drawing
  • US8874519B1 patent drawing

AI summary

A method and apparatus for restoring table data using one or more restoration commands, where the one or more restoration commands are generated at the time a backup of a database comprising the table data is created. The disclosed restoring of table data comprises identifying table data after completion of a backup process on the database and generating one or more commands for restoring the table data where the one or more restoration commands are generated prior to a request to restore the table data.