Capacity Planning for Always On Availability Group Clusters
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
2Ease of operation
If on-server-basis capacity planning is used, then individual node planning is simplified, but total system capacity adequacy deteriorates
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
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
3Reliability
If safety margins are increased in capacity estimates, then reliability of capacity sufficiency is improved, but resource overhead and costs worsen
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
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
4Productivity
If automated capacity planning is implemented, then productivity and accuracy are improved, but device complexity worsens
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
Data Source
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.


