Distributed Database Workload Management via Dynamic Feedback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed database systems face inefficiencies due to uneven data partitioning across nodes, leading to workload imbalances that affect system efficiency.

Innovation Solution

A clustered database workload management system using self-describing data and a distributed inference-based rule processing module to monitor and manage queries, allowing for scalable data item and statistic dissemination, and implementing rules-based actions in response to workload changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data is partitioned across multiple nodes in a distributed database system, then system scalability and parallel processing capability are improved, but workload imbalance and reduced efficiency occur

Engineering Contradiction:
Improvesystem efficiencyVSAvoidworkload distribution complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system continuously collects statistics about query execution and resource usage from all nodes, compares them against defined thresholds, and automatically triggers repartitioning operations when imbalance is detected. This closed-loop feedback mechanism enables dynamic adaptation to changing workload patterns while maintaining system efficiency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The data partitioning scheme is made dynamic rather than static. The system can automatically repartition data across nodes based on real-time workload conditions, allowing the partitioning strategy to adapt to changing patterns in query execution and resource consumption to maintain optimal load distribution.

Inventive Principle:
Principle #15Dynamics

2Reliability

If a centralized system monitors and manages all queries, then workload management effectiveness is improved, but system scalability is reduced

Engineering Contradiction:
Improveworkload management effectivenessVSAvoidsystem scalability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The centralized workload management function is segmented into distributed components. Each node collects and processes local query statistics independently, and only shares aggregate information with other nodes. This segmentation allows the system to scale horizontally while maintaining effective workload management through distributed intelligence.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an intermediary layer of statistics collection and aggregation that mediates between individual query execution and centralized management decisions. This intermediary processes data locally at each node before aggregation, reducing the communication overhead and processing burden on any single centralized manager.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If the system collects detailed statistics from all nodes, then workload analysis accuracy is improved, but data dissemination complexity and overhead increase

Engineering Contradiction:
Improveworkload analysis accuracyVSAvoiddata dissemination complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Each node collects and processes statistics locally with high precision for its own workload analysis, maintaining accurate local measurements without requiring all nodes to process all data. The system then aggregates these localized high-quality statistics to achieve system-wide accuracy while minimizing communication complexity.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10885064B2Performing global computation in distributed database systems
Publication Date: 2021.01.05 VMWARE INC
  • US10885064B2 patent drawing
  • US10885064B2 patent drawing
  • US10885064B2 patent drawing

AI summary

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for instrumentation and control of workloads in a massively parallel processing database. Deployment is in a cluster which mirrors the cluster of the database to be controlled. The system includes data publishing modules, action agents, rules processing modules, deployment managers, rule compilation and management tools. Together these provide a distributed, fault tolerant system for the automated rules-based control of work in a database cluster. A first calculation master, upon receiving a request, performs local calculation on a first node, and directs a second calculation master to perform local calculation on a second node. The first calculation master then performs global calculation using intermediate results from the first node and the second node.