Capacity Planning for Always On Availability Group Clusters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional capacity planning methods for SQL Server Always On High Availability Group nodes are manual, inaccurate, and time-consuming, often leading to undercapacity situations due to the dynamic nature of workloads and failure to account for real-world usage scenarios, resulting in potential performance issues and increased resource requirements.

Innovation Solution

A method that calculates theoretical maximum workloads for source nodes and defines capacity requirements for target nodes based on these calculations, using performance monitoring, time series analysis, and benchmark ratios to ensure sufficient capacity and optimize resource allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If manual capacity planning is used for Always On High Availability Group nodes, then implementation simplicity is maintained, but accuracy and reliability of capacity estimates deteriorate

Engineering Contradiction:
Improveimplementation simplicityVSAvoidcapacity estimation accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent replaces manual capacity planning methods with an automated computational system that uses performance monitors, time series analysis, and benchmark ratios to calculate theoretical maximum workloads and predict capacity requirements, substituting human judgment with systematic automated analysis

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system enables self-service capacity planning by automatically collecting performance data from nodes, analyzing time series trends, calculating workload distributions, and generating capacity predictions without requiring manual intervention, allowing the system to plan its own capacity requirements

Inventive Principle:
Principle #25Self-service

2Ease of operation

If on-server-basis capacity planning is used, then individual node planning is simplified, but total system capacity adequacy deteriorates

Engineering Contradiction:
Improveindividual node planning simplicityVSAvoidtotal system capacity adequacy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent merges individual node capacity planning with system-wide capacity analysis by calculating theoretical maximum workloads for each node while simultaneously analyzing the distribution of workloads across the entire Always On High Availability Group, ensuring both individual and aggregate capacity adequacy

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent adds a system-wide dimension to traditional on-server-basis planning by introducing time series analysis and workload distribution modeling across multiple nodes, transforming single-node planning into multi-dimensional system capacity optimization

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Reliability

If safety margins are increased in capacity estimates, then reliability of capacity sufficiency is improved, but resource overhead and costs worsen

Engineering Contradiction:
Improvecapacity sufficiencyVSAvoidresource overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the approach from using fixed safety margins to dynamically calculating capacity requirements based on actual performance data, time series trends, and benchmark ratios, allowing precise capacity estimation without arbitrary overhead

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system uses feedback from performance monitors and time series analysis to continuously refine capacity predictions, adjusting capacity estimates based on actual workload patterns and trends rather than relying on static safety margins

Inventive Principle:
Principle #23Feedback

4Productivity

If automated capacity planning is implemented, then productivity and accuracy are improved, but device complexity worsens

Engineering Contradiction:
Improvecapacity planning efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent creates a universal capacity planning system that handles multiple types of workloads (AG workloads, FCI workloads, non-AG databases, tempdb) across multiple nodes using a single integrated methodology, reducing the need for separate planning processes for different scenarios

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

Data Source

PatentUS11526417B2Method and a system for capacity planning
Publication Date: 2022.12.13 DB PRO OY
  • US11526417B2 patent drawing
  • US11526417B2 patent drawing
  • US11526417B2 patent drawing

AI summary

A capacity planning method for Always On Availability Group, AG, cluster renewal includes selecting a source AG cluster to be replaced with a target AG cluster, selecting at least one performance monitor and monitoring performance of instances and databases to obtain time series. Trends of the time series are defined and at least one benchmark value is obtained for source and target nodes and calculating at least one benchmark ratio. The time series are adjusted based on the defined trends and the at least one benchmark ratio. A logical grouping of instances and databases is constituted, and workloads of the logical groups are calculated for each node on basis of the adjusted time series. A required capacity of the target AG cluster nodes is predicted. Finally, the required capacity of the target AG cluster nodes is compared to verify, whether the target node has sufficient capacity.