Automated Database Table Migration Using Usage Pattern Metrics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional database management approaches are limited by human administrator-driven management and lack automation in optimizing table migration based on usage patterns and cross-database linking, leading to inefficient data distribution across multiple servers.

Innovation Solution

An application service that monitors and calculates various data metrics to determine a migration factor for tables, prioritizing migration based on write density, read density, join operations, and other factors to optimize data distribution across databases, thereby automating the table migration process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If human administrator-driven management is used for database table migration, then operational control is maintained, but automation and optimization based on usage patterns are lost

Engineering Contradiction:
Improvetable migration automationVSAvoidmonitoring and calculation system complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The system performs self-service by automatically monitoring its own database usage patterns, calculating migration factors, and identifying tables for migration without requiring external administrator intervention. The application service autonomously evaluates write density, read density, and join operation metrics to determine migration priorities.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback by continuously monitoring database usage patterns and using this information to dynamically adjust migration decisions. The monitoring component collects real-time data on table access patterns, and this feedback loop enables the system to optimize migration timing and selection based on actual usage rather than static rules.

Inventive Principle:
Principle #23Feedback

2Productivity

If tables are migrated without considering usage patterns and cross-database linking, then migration process is simple, but data distribution efficiency deteriorates

Engineering Contradiction:
Improvedata distribution efficiencyVSAvoidusage pattern analysis complexity
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The system segments the analysis by evaluating multiple independent metrics for each table: write density, read density, and join operation frequency. Each metric is calculated and weighted separately, allowing the system to comprehensively assess table migration priority while breaking down the complex analysis into manageable, measurable components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes parameters by dynamically adjusting migration priorities based on varying database usage patterns. The migration factor calculation incorporates real-time changes in write density, read density, and join operations, allowing the system to adapt to changing workloads and optimize data distribution according to actual usage conditions.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If table migration is performed without optimization, then migration speed is maintained, but performance impact on applications increases

Engineering Contradiction:
Improveapplication performance stabilityVSAvoidmigration timing optimization
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by identifying and prioritizing tables for migration before the migration process begins. The monitoring and migration factor calculation components evaluate usage patterns in advance, allowing the system to schedule migrations during periods of lowest expected impact and prepare necessary data about table dependencies and usage patterns beforehand.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10108645B1Database monitoring for online migration optimization
Publication Date: 2018.10.23 EMC IP HLDG CO LLC
  • US10108645B1 patent drawing
  • US10108645B1 patent drawing
  • US10108645B1 patent drawing

AI summary

In general, the invention relates to a method and system for migrating tables in databases. The method may include calculating a first plurality of migration factors for a first set of tables in a source database using a plurality of pre-calculated factors and a first plurality of dynamically-calculated factor, where each of the first plurality of migration factors is associated with one of the first set of tables. The method may further include selecting a first table from the first set of tables to migrate based on the first plurality of migration factors; and migrating the first table to a target database.