Database Cluster Workload Management via Dynamic Connection Redirection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed database systems face challenges in effectively managing workloads across multiple applications with varying resource requirements and business priorities, leading to inefficiencies in resource allocation and availability within Shared Disk Cluster environments.

Innovation Solution

A system and methodology for workload management that periodically collects and distributes workload statistics across database servers, calculates load scores, and automatically redirects client connections to servers with lower workloads, enabling dynamic load distribution and connection routing based on load profiles.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If workload is distributed across multiple database servers in a Shared Disk Cluster, then system availability and scalability are improved, but effective workload management and resource allocation become more complex

Engineering Contradiction:
Improvesystem availabilityVSAvoidworkload management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The workload management system operates autonomously by automatically collecting workload statistics from database servers, calculating load scores, and redirecting client connections without manual intervention. The system self-regulates workload distribution based on real-time conditions, eliminating the need for complex manual workload management while maintaining high availability across the cluster

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors workload statistics from each database server and uses this feedback to dynamically calculate load scores. This feedback mechanism enables the system to adaptively redirect client connections to servers with lower workloads, resolving the complexity of resource allocation in distributed environments while preserving system availability

Inventive Principle:
Principle #23Feedback

2Productivity

If manual workload management is used in distributed database systems, then system complexity is reduced, but resource allocation efficiency and productivity deteriorate

Engineering Contradiction:
Improveresource allocation efficiencyVSAvoidworkload management system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The workload management system autonomously collects statistics, calculates load scores, and redirects client connections without requiring manual intervention. This self-service approach maximizes resource allocation efficiency by continuously optimizing workload distribution across servers while avoiding the operational overhead of manual management

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The workload management system acts as an intermediary layer between client applications and database servers. It intercepts client connection requests, evaluates server workload conditions, and redirects connections to optimal servers, thereby improving resource allocation efficiency without adding significant complexity to the underlying database system

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If workload statistics collection frequency is increased, then workload distribution accuracy is improved, but system overhead and energy consumption increase

Engineering Contradiction:
Improveworkload measurement accuracyVSAvoidsystem overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system collects workload statistics periodically at predetermined intervals rather than continuously. This periodic collection approach maintains adequate workload measurement accuracy for effective load balancing while minimizing system overhead and energy consumption by avoiding excessive monitoring activity

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system collects workload statistics from only the necessary components (database servers) at appropriate intervals, rather than monitoring every system component continuously. This partial monitoring approach achieves sufficient measurement precision for workload management while keeping system overhead and energy consumption at acceptable levels

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9141435B2System and methodology providing workload management in database cluster
Publication Date: 2015.09.22 SYBASE INC
  • US9141435B2 patent drawing
  • US9141435B2 patent drawing
  • US9141435B2 patent drawing

AI summary

A system and methodology providing workload management in a database cluster. In one embodiment, for example, a method for allocating workload amongst a plurality of database servers sharing access to data comprises steps of: periodically collecting information about workload at each database server; distributing the workload information to each of the plurality of database servers; in response to a client connected to a first database server requesting that work be performed, examining the workload information to determine whether the requested work should be performed at a second database server having a lower workload than the first database server; if it is determined that the work should be performed at the second database server, automatically transferring the client connection to the second database server and performing the requested work at the second database server; and otherwise, performing the requested work at the first database server.