Declarative Database Replication Path Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database replication systems require manual, imperative configuration, which is time-consuming, prone to human error, and difficult to optimize, especially when dealing with heterogeneous databases and geographically distributed data.

Innovation Solution

Implementing declarative configuration for database replication, where users provide intention-based specifications, and the system uses optimization algorithms to determine the optimal replication path, automating the process and handling data type conversions and network routing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual imperative configuration is used for database replication, then users can control each step of the replication process, but the configuration process becomes time-consuming and prone to human error

Engineering Contradiction:
Improveconfiguration accuracyVSAvoidconfiguration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-configuration by automatically generating replication paths and determining optimal routes between source and target databases without requiring manual step-by-step configuration. The declarative specification approach allows the system to infer and execute the replication process autonomously, eliminating human error while reducing configuration time.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-generates multiple possible replication paths and evaluates them before execution using cost-directed search algorithms. By preparing and analyzing multiple paths in advance, the system identifies the optimal replication route beforehand, avoiding time-consuming trial-and-error configurations during actual deployment.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If manual configuration is used for heterogeneous database replication, then data type conversions can be handled, but the complexity of configuration increases significantly

Engineering Contradiction:
Improvedatabase compatibilityVSAvoidconfiguration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system introduces an intermediary layer that automatically handles data type conversions between heterogeneous databases. The declarative replication specification acts as a mediator that describes the desired replication outcome without requiring users to manually configure complex data mapping rules, thereby maintaining database compatibility while reducing configuration complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system automatically adjusts data type parameters when replicating between different database systems. By dynamically changing data type parameters based on source and target database characteristics, the system handles heterogeneous database compatibility without requiring users to manually configure complex conversion rules.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If traditional replication systems are used for geographically distributed data, then data can be replicated across locations, but optimization of replication paths becomes difficult

Engineering Contradiction:
Improvedata transfer efficiencyVSAvoidpath optimization complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system dynamically evaluates multiple replication paths using cost-directed search algorithms, adapting to different network conditions and data requirements. By generating and comparing multiple possible paths dynamically, the system optimizes data transfer efficiency across geographically distributed locations without requiring complex manual path configuration.

Inventive Principle:
Principle #15Dynamics

4Extent of automation

If declarative configuration is implemented, then automation of replication process improves, but the system must generate and evaluate multiple paths increasing computational overhead

Engineering Contradiction:
Improvereplication automationVSAvoidcomputational resources
Core Design Contradiction:
Extent of automationVSUse of energy by moving object

Solution Approach 1:

The system generates multiple replication paths but evaluates them selectively using cost-directed search algorithms. Rather than exhaustively analyzing every possible path, the system focuses computational resources on the most promising paths, achieving effective automation while controlling computational overhead through intelligent pruning of the search space.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11586649B2Declarative configuration for database replication
Publication Date: 2023.02.21 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11586649B2 patent drawing
  • US11586649B2 patent drawing
  • US11586649B2 patent drawing

AI summary

An embodiment generates, responsive to receiving a declarative replication specification, a logical map comprising a plurality of paths to completing a data replication process identified by the replication specification. The embodiment determines, responsive to generating the logical map, an optimal path to completing the data replication process by searching the plurality of paths of the logical map using a cost-directed search algorithm to find the optimal path from among the plurality of paths. The embodiment also performs, responsive to finding the optimal path, a series of data replication operations for replicating source data on a target database. The embodiment also detects, during a runtime of the data replication process, a predetermined change to a runtime environment of the data replication process. The embodiment also determines, responsive to detecting the predetermined change, a revised optimal path for performing the data replication process in the changed runtime environment.