Shadow Database Tables for ERP Data Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The migration of business object (BO) data in ERP systems often results in excessive downtime due to changes in the persistency model, leading to challenges in fulfilling customer requirements and system architectural changes, and can cause conflicts if users modify data during the migration process.

Innovation Solution

The method involves generating a shadow database table corresponding to a new BO persistency model, recording changes to the old database table, transforming the changed data to match the new model, and writing it to the shadow table, allowing for minimal downtime and efficient data migration during system uptime.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If BO data migration is performed during software upgrade downtime, then data consistency with the new persistency model is achieved, but business downtime increases excessively

Engineering Contradiction:
Improvedata consistencyVSAvoidbusiness downtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates shadow database tables in advance with the new persistency model structure before the actual data migration occurs. This preliminary setup allows the system to prepare the target structure without interrupting business operations, and then perform data transformation during a shorter downtime period.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces shadow database tables as an intermediary structure between the old and new persistency models. These shadow tables serve as a buffer that allows data to be transformed and validated without directly replacing the production tables, enabling continuous business operation during the migration process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If BO data migration is performed before software upgrade downtime, then business continuity is maintained, but data conflicts occur when users modify migrated data

Engineering Contradiction:
Improvebusiness continuityVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The shadow database tables act as an intermediary layer that isolates the migration process from production data. Users continue to operate on the original production tables while the shadow tables capture and transform data changes, preventing conflicts between user modifications and migration operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent extracts the data transformation logic into a separate change recording mechanism that operates independently from the production database. This separation allows user modifications to proceed normally while the migration process captures and processes changes through the shadow tables without interference.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If complete BO data migration is performed, then the new persistency model is fully implemented, but migration time and complexity increase significantly

Engineering Contradiction:
Improvemigration completenessVSAvoidmigration complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the migration process into distinct phases: creating shadow tables with the new structure, establishing change recording mechanisms, transforming data incrementally, and validating results. This segmentation breaks down the complex migration task into manageable components that can be executed and validated separately.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements change recording that captures all data modifications, even those that may not immediately require migration. This excessive action ensures completeness by recording every potential change, allowing the system to migrate data incrementally without missing any updates, while maintaining simplicity through a uniform recording mechanism.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9069805B2Migration of business object data in parallel with productive business application usage
Publication Date: 2015.06.30 SAP SE
  • US9069805B2 patent drawing
  • US9069805B2 patent drawing
  • US9069805B2 patent drawing

AI summary

The disclosure generally describes computer-implemented methods, computer-program products, and systems for modeling and deploying decision services. One computer-implemented method includes during uptime processing: generating at least one shadow database table corresponding to a new business object (BO) persistency model, establishing change recording for at least one database table associated with an old BO persistency model, retrieving, as changed data and using at least one computer, changed BO data from the at least one database table, transforming, as transformed data, the changed data to correspond to the new BO persistency model, writing the transformed data to the generated at least one shadow database table, and retrieving, as further changed data, BO data from the at least one database table upon a determination that the BO data has changed in the at least one database table after a prior retrieval of the BO data from the at least one database table.