Database Upgrade Management via Migration Trigger

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database upgrade management systems face challenges in efficiently managing upgrades between databases with different schemas, particularly in maintaining synchronization and compatibility between legacy and upgrade databases, which can lead to complexity and reliability issues during incremental upgrades in distributed systems.

Innovation Solution

A system comprising an upgrade system manager and a legacy system manager that communicate to facilitate data migration between databases with different schemas, using an upgrade adapter to translate and update data between the 'V' and 'V-n' schemas, allowing for incremental and rolling upgrades while maintaining near real-time data consistency and flexibility in scheduling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If data is migrated between databases with different schemas during incremental upgrades, then database version flexibility is improved, but data synchronization complexity increases

Engineering Contradiction:
Improvedatabase version flexibilityVSAvoiddata synchronization complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

A migration trigger is introduced as an intermediary mechanism between the legacy database and upgrade database. This trigger automatically detects data changes in the legacy database and initiates corresponding updates in the upgrade database, eliminating the need for complex manual synchronization processes while maintaining data consistency across different schema versions

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements a feedback mechanism where the migration trigger continuously monitors the legacy database for changes and automatically propagates these changes to the upgrade database. This closed-loop feedback system ensures data synchronization without requiring complex coordination logic, as the trigger responds reactively to actual data changes

Inventive Principle:
Principle #23Feedback

2Productivity

If incremental database upgrades are performed in distributed systems, then system availability is improved, but upgrade reliability deteriorates due to synchronization issues

Engineering Contradiction:
Improvesystem availabilityVSAvoidupgrade reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The upgrade process is segmented into independent, incremental steps where individual databases can be upgraded separately rather than requiring system-wide simultaneous upgrades. The migration trigger operates independently on each database pair, allowing failed upgrades to be isolated and retried without affecting other databases, thus maintaining both availability and reliability

Inventive Principle:
Principle #1Segmentation

3Loss of information

If data changes are propagated between legacy and upgrade databases, then data consistency is improved, but processing overhead increases

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessing overhead
Core Design Contradiction:
Loss of informationVSUse of energy by moving object

Solution Approach 1:

The migration trigger operates on a change-event basis rather than continuously polling for updates. It activates periodically only when actual data changes occur in the legacy database, propagating changes to the upgrade database only when necessary. This event-driven periodic action maintains data consistency while minimizing unnecessary processing overhead during periods of no changes

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS9122716B1Database upgrade management
Publication Date: 2015.09.01 SHORETEL INC
  • US9122716B1 patent drawing
  • US9122716B1 patent drawing
  • US9122716B1 patent drawing

AI summary

A system can include an upgrade system manager. The upgrade system manager can be configured to communicate with an upgrade database that employs a given schema. The system can also include a legacy system manager configured to communicate with a legacy database that employs a different schema, wherein the legacy database contains a subset of the data stored at the upgrade database. The legacy database can be configured to provide a forward migration trigger to the upgrade system manager in response to detecting an update to the legacy database. The upgrade system manager can further be configured to determine whether data received from an application configured to produce data for the upgrade database is to be provided to the legacy database.