Database Throttle Limit Calculation for Workload Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

As database systems grow in size and complexity, efficiently managing operational tasks becomes challenging due to the difficulty in accurately setting and manually monitoring concurrency limits for different workloads, leading to potential resource congestion and unfair resource distribution among workloads.

Innovation Solution

A workload management subsystem dynamically calculates a throttle limit based on monitored metrics associated with resources used by multiple classes of requests, prioritizing lower priority requests to avoid resource competition with higher priority requests, thereby regulating resource usage and maintaining system health.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If manual monitoring of concurrency limits is implemented, then resource distribution can be controlled, but system complexity and operational difficulty increase significantly

Engineering Contradiction:
Improveease of managing concurrency limitsVSAvoidcomplexity of monitoring and managing workloads
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The workload management subsystem automatically calculates throttle limits and monitors resource usage without requiring manual intervention. The system self-regulates by dynamically adjusting concurrency limits based on monitored metrics, eliminating the need for operators to manually track and adjust each workload's resource allocation.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors metrics associated with database system resources and uses this feedback to dynamically calculate and adjust throttle limits. This closed-loop control mechanism automatically responds to changing system conditions, maintaining optimal resource distribution without manual oversight.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If concurrency limits are set for different workloads, then resource distribution can be managed, but accurate setting and monitoring becomes increasingly difficult as system size grows

Engineering Contradiction:
Improveaccuracy of resource allocationVSAvoiddifficulty of monitoring concurrency limits
Core Design Contradiction:
Measurement precisionVSDifficulty of detecting and measuring

Solution Approach 1:

The workload management subsystem automatically calculates appropriate throttle limits based on monitored system metrics, eliminating the need for manual configuration. The system self-determines accurate resource allocation thresholds by analyzing actual resource usage patterns and workload characteristics.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically adjusts throttle limit parameters based on changing system conditions and workload demands. Rather than using fixed concurrency limits, the throttle limits are continuously recalculated based on current metric values, allowing accurate resource allocation that adapts to system growth and changing conditions.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If lower priority requests are allowed to execute freely, then resource utilization increases, but higher priority requests may suffer from resource starvation

Engineering Contradiction:
Improveoverall resource utilizationVSAvoidservice level agreement compliance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system dynamically adjusts the throttle limit for lower priority requests based on current system conditions and higher priority workload demands. When higher priority requests require more resources, the throttle limit automatically reduces, preventing resource starvation. When system capacity is available, the throttle limit increases, allowing better resource utilization by lower priority requests.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The throttle limit parameter for lower priority workloads is continuously adjusted based on monitored metrics and the needs of higher priority requests. This dynamic parameter change ensures that resource allocation between different priority levels is optimized, maintaining both overall productivity and service level agreements.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11449502B1Calculating a throttle limit for requests in a database system
Publication Date: 2022.09.20 TERADATA US INC
  • US11449502B1 patent drawing
  • US11449502B1 patent drawing
  • US11449502B1 patent drawing

AI summary

In a database system, at least one metric associated with resources in a database system used by multiple classes of requests is monitored, where a first of the multiple classes is associated with a lower priority than a second of the multiple classes. A throttle limit is calculated for requests of the first class, based on the monitored metric. The calculated throttle limit is used to determine scheduling of the request of the first class for execution.