Automated Database Containerization via Schema Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Migrating non-containerized databases to a containerized environment is tedious, error-prone, and costly, requiring manual reconfiguration, backup, and restoration, while introducing data security risks and higher total cost of ownership.

Innovation Solution

A database shift analysis tool validates compatibility and recommends changes, allowing users to containerize database objects and configurations using a GUI or CLI, enabling automatic code generation and parallelized data transfer, regardless of the database's online or offline state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual migration methods are used to move databases to containerized environment, then migration can be completed, but the process becomes tedious, error-prone, and costly with higher total cost of ownership

Engineering Contradiction:
Improvemigration reliabilityVSAvoidmigration process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs self-service by automatically analyzing the database schema, generating migration code, and executing the migration process without requiring manual intervention. The database system itself provides the migration capability through integrated code generation and automated execution, eliminating the need for external manual migration tools and procedures.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual mechanical migration processes with an automated code generation system. Instead of manually configuring and migrating database objects, the system generates migration code automatically based on the database schema analysis, substituting human-operated mechanical processes with an automated software system.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If manual reconfiguration and backup restoration processes are used, then database migration can be achieved, but data security risks increase and costs rise

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

Solution Approach 1:

The system performs preliminary analysis of the database schema and generates the complete migration code before actual migration execution. This preliminary code generation phase allows for validation and verification of the migration plan, ensuring data security is maintained while reducing the time required for actual migration execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces manual backup and restoration processes with an automated code-based migration system. The system generates and executes migration code that directly transfers database objects, eliminating the need for manual backup creation, storage, and restoration operations, thereby reducing both time and security risks.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If automated code generation and parallelized data transfer are implemented, then migration process is simplified and accelerated, but system complexity increases

Engineering Contradiction:
Improvemigration speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The migration system is segmented into distinct functional modules: database schema analysis, code generation, validation, and parallelized execution. Each module handles a specific aspect of the migration process, allowing for independent optimization and management of complexity while achieving high overall productivity through coordinated operation of these segments.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system employs dynamic code generation that adapts to the specific database schema being migrated. The code generation process is dynamic rather than static, creating customized migration code based on the actual database structure, which enables efficient parallelized execution while managing system complexity through adaptive rather than rigid processes.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11853327B2Seamlessly containerizing a database
Publication Date: 2023.12.26 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11853327B2 patent drawing
  • US11853327B2 patent drawing
  • US11853327B2 patent drawing

AI summary

In an approach to containerizing an existing database that currently resides on a standard operating system, responsive to determining that a non-containerized database is suitable for containerization, one or more database objects to be shifted into a container are determined. The one or more database objects are mapped to a container structure. The non-containerized database is shifted into the container based on the mapping of the one or more database objects and the container structure to create a containerized database.