Dynamic Database Record Redistribution Based on Workload Metrics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed databases face inefficiencies due to changes in data and workload over time, as existing distribution schemes may become inefficient with new data sets or applications, leading to suboptimal performance.

Innovation Solution

A database system that dynamically re-distributes records among servers based on workload data, identifying performance impacts on columns and re-distributing only if the impact exceeds a threshold, using a workload log to derive performance impact from resource cost and frequency data, and maintaining read-only copies during redistribution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If data is distributed among nodes using a static distribution scheme, then initial performance requirements are met, but performance degrades when data or workload changes over time

Engineering Contradiction:
Improveadaptability to changing workloadVSAvoidcomplexity of distribution management
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic data distribution by continuously monitoring workload characteristics and automatically re-distributing data partitions based on current access patterns. The system transitions from static distribution to dynamic adaptation, where the distribution scheme evolves with changing workload requirements without manual intervention.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system employs feedback mechanisms by monitoring performance metrics and workload patterns, then using this information to automatically adjust data distribution. The feedback loop enables the system to detect when performance degradation occurs and trigger re-distribution operations to optimize performance based on actual usage patterns.

Inventive Principle:
Principle #23Feedback

2Productivity

If data is re-distributed frequently to optimize performance, then system performance improves, but resource overhead and system load increase

Engineering Contradiction:
Improvedata access performanceVSAvoidresource cost of re-distribution
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system changes parameters such as distribution thresholds and monitoring intervals based on system conditions. By adjusting these parameters dynamically, the system can optimize performance while controlling resource consumption, allowing more aggressive re-distribution when resources are abundant and more conservative approaches when resources are constrained.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements partial re-distribution by re-distributing only specific data partitions that are causing performance bottlenecks, rather than re-distributing the entire dataset. This selective approach reduces resource overhead while still achieving performance improvements for the most critical data access patterns.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If data distribution is optimized for specific access patterns, then performance for those patterns improves, but performance for other access patterns deteriorates

Engineering Contradiction:
Improveaccess request execution efficiencyVSAvoidperformance across different access patterns
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system achieves multi-functionality by maintaining the capability to serve multiple access patterns simultaneously. Through continuous monitoring and adaptive re-distribution, the system can optimize for different access patterns at different times, making the distribution scheme universally applicable to various workload types rather than being specialized for a single pattern.

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

Data Source

PatentUS10691723B2Distributed database systems and methods of distributing and accessing data
Publication Date: 2020.06.23 SHENZHEN SICARRIER TECH CO LTD
  • US10691723B2 patent drawing
  • US10691723B2 patent drawing
  • US10691723B2 patent drawing

AI summary

A database system comprises a plurality of servers with data storage. The system holds first and second database tables. Records of the first database table are distributed among the servers according to values of a first distribution column. The servers can receive access requests and log workload data representative of the requests. Based on the workload data, the servers can determine a performance impact associated with columns of the tables and, upon determining that a performance impact associated with one of the columns is greater than a performance impact associated with the first distribution column, the servers can re-distribute the records among the plurality of servers according to values of the second column.