Automated Database Migration Service With Schema Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Migrating data between different databases is often difficult and time-consuming due to differences in schema, formats, and syntax between source and target databases, requiring extensive manual effort and resources.

Innovation Solution

A database migration service that operates within a service provider network, allowing users to select options for migrating data while keeping the source database operational, using a schema conversion service to automatically convert schema and code formats, and providing recommendations for suitable target DBMS, thus minimizing downtime and manual intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual schema conversion and data migration is performed between different database systems, then data can be migrated from source to target database, but the process becomes very expensive and time consuming

Engineering Contradiction:
Improvedata migration accuracyVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent introduces a migration service as an intermediary system between source and target databases. This service automatically generates and executes migration scripts, converts schemas, and transfers data without requiring manual intervention. The intermediary handles the complexity of heterogeneous database conversions, reducing both time and cost while maintaining reliability through automated validation and error handling.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The migration service enables self-service automation where the system automatically performs schema conversion, code translation, and data migration without human intervention. The service independently analyzes source database schemas, generates appropriate target schemas, and executes migration operations, eliminating the need for expensive manual conversion processes while ensuring data accuracy through built-in validation mechanisms.

Inventive Principle:
Principle #25Self-service

2Manufacturing precision

If schema conversion is performed manually to ensure compatibility between source and target databases, then data consistency can be maintained, but the complexity and cost of the migration process increases significantly

Engineering Contradiction:
Improveschema compatibilityVSAvoidmigration system complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The migration service acts as an intelligent intermediary that automatically handles schema conversion between heterogeneous databases. It analyzes source schemas, translates them to compatible target schemas, and manages code conversions without requiring manual intervention. This automated intermediary reduces system complexity by encapsulating the conversion logic while ensuring schema compatibility through systematic translation rules and validation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies parameter changes by systematically transforming schema parameters, data types, and structural definitions from source database formats to target database formats. The migration service automatically adjusts schema parameters, converts data type definitions, and modifies structural relationships to ensure compatibility, reducing manual effort while maintaining precision through automated parameter transformation rules.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If the source database is taken offline during migration to ensure data consistency, then migration accuracy improves, but downtime increases and operational continuity is disrupted

Engineering Contradiction:
Improvedata consistencyVSAvoiddowntime
Core Design Contradiction:
Manufacturing precisionVSDuration of action of moving object

Solution Approach 1:

The migration service enables continuous operation of the source database during the migration process. It implements incremental migration strategies where data is copied and validated in stages without taking the source database offline. The service maintains data consistency through transactional integrity, validation rules, and incremental synchronization, allowing the source system to remain operational and serve users throughout the migration process.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The migration service performs preliminary actions by first analyzing and validating the source database schema, generating migration scripts, and preparing target schemas before actual data migration begins. This preliminary preparation ensures that when migration occurs, data consistency is maintained through pre-validated transformation rules, reducing the need for source database downtime while ensuring migration accuracy.

Inventive Principle:
Principle #10Preliminary action

4Adaptability or versatility

If extensive manual conversion of schema and code is performed, then compatibility with target database is achieved, but the ease of operation deteriorates due to high resource requirements

Engineering Contradiction:
Improvedatabase compatibilityVSAvoidmigration effort
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The migration service provides self-service automation that handles schema conversion, code translation, and data migration without requiring manual conversion efforts. The system automatically analyzes source database schemas, generates compatible target schemas, translates stored procedures and functions, and migrates data. This eliminates the need for manual conversion work while achieving comprehensive database compatibility through automated transformation and validation.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The migration service implements universality by supporting multiple source and target database systems through a single automated platform. It handles various schema formats, data types, and code structures across different database vendors, providing broad compatibility without requiring separate manual conversion processes for each database pair. The service adapts to heterogeneous environments while maintaining ease of operation through unified automated handling.

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

Data Source

PatentUS10803031B1Migrating data between databases
Publication Date: 2020.10.13 AMAZON TECH INC
  • US10803031B1 patent drawing
  • US10803031B1 patent drawing
  • US10803031B1 patent drawing

AI summary

Data is migrated between a source database and a target database. The source database management system (“DBMS”) remains operational during the migration. A user selects the source DBMS and target DBMS, provides connection information used to connect to the database management systems and selects a virtual machine instance to perform the migration in conjunction with a database migration service. After the setup is complete, the virtual machine instance in conjunction with the database migration service performs data type transformations, and other operations, without user intervention. The database migration service also converts, without user intervention, the source schema and code to a format compatible with the target DBMS. Any code that is not converted is marked to assist the user of the database migration service identify where manual re-coding is required. The database migration service can also provide recommendations as to a target DBMS that is a suitable target DBMS.