Database Migration Framework for In-Memory Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database migration processes often result in prolonged downtimes due to the complexity of relational databases and the need for system updates and Unicode conversions when migrating to in-memory database systems like SAP HANA, making them inefficient and resource-intensive.

Innovation Solution

A database migration system with a migration framework that analyzes source databases, identifies data subsets, and migrates them during uptime and downtime periods, using a shadow system architecture to minimize downtime by separating the migration process into structural adjustments, record and replay functions, and after-import methods, allowing for efficient migration to in-memory databases.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional database migration processes are used to migrate relational databases to in-memory database systems, then data can be migrated between platforms, but the migration causes long downtimes and requires complex system updates and Unicode conversions

Engineering Contradiction:
Improvedata migration completenessVSAvoiddowntime during migration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The migration process is segmented into distinct phases: initial data migration during downtime, then continuous synchronization during uptime periods. The synchronization process is further divided into identifying changed data, extracting changed data, and loading changed data to the target system. This segmentation allows the migration to continue without requiring complete system downtime.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by establishing the target database system and initial data migration before the cutover point. The migration framework is set up in advance to enable continuous synchronization, and the system prepares for Unicode conversion and system updates beforehand so that these operations do not extend the actual downtime period.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If system updates and Unicode conversions are performed during database migration, then compatibility with in-memory database systems like SAP HANA is achieved, but the complexity of the migration process increases and requires multiple intermediate steps

Engineering Contradiction:
Improvecompatibility with target database systemVSAvoidmigration process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The migration framework acts as an intermediary between the source and target database systems. It handles Unicode conversion, data format transformation, and protocol adaptation automatically during the synchronization process, eliminating the need for manual intermediate steps and reducing overall process complexity while ensuring compatibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The migration framework is designed with multi-functionality to handle various migration tasks including data extraction, transformation, loading, Unicode conversion, and system update coordination within a single unified system. This universal approach consolidates multiple intermediate steps into one integrated process.

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

3Reliability

If complete database migration is performed during system downtime, then data consistency between source and target systems is ensured, but the migration time and resource requirements increase significantly

Engineering Contradiction:
Improvedata consistencyVSAvoidmigration speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The synchronization process maintains continuous useful action by continuously identifying, extracting, and loading changed data from the source system to the target system during uptime periods. This continuous synchronization ensures data consistency while utilizing otherwise idle time, thereby increasing migration speed without compromising reliability.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

Instead of migrating the entire database during downtime, the system performs partial migration by focusing only on changed data (incremental synchronization). This partial action approach during uptime periods, combined with the initial complete migration during downtime, achieves full data consistency more efficiently than traditional complete migration approaches.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9881035B2Systems and methods for in-place migration with downtime minimization
Publication Date: 2018.01.30 SAP SE
  • US9881035B2 patent drawing
  • US9881035B2 patent drawing
  • US9881035B2 patent drawing

AI summary

A system and method for database migration is provided. In an example embodiment, the database migration technique may include a first connection to a relational database, a second connection to an in-memory database, and a migration framework to analyze the data structures of the relational database so as to identify first and second subsets of data structures. The first subset of data structures is migrated to the in-memory database during an uptime period of the relational database, and the second subset of data structures is migrated to the in-memory database during a downtime period of the relational database.