Database Performance Prediction via Hardware Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database management systems face challenges in efficiently predicting performance changes due to varying workloads and hardware configurations, requiring skilled administrators to continuously monitor and adjust resources, which is time-consuming and costly.

Innovation Solution

A prediction system that monitors database performance, aggregates statistics, and simulates different hardware configurations to predict throughput and latency, allowing for automated capacity planning and recommendation of configuration changes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual monitoring and adjustment of database resources is performed by skilled administrators, then performance management accuracy is improved, but labor cost and time consumption increase

Engineering Contradiction:
Improveperformance management accuracyVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system enables automated self-service through the performance prediction module that automatically monitors database resources, predicts performance under different configurations, and generates optimization recommendations without requiring continuous manual administrator intervention. The system serves itself by autonomously collecting statistics, running simulations, and providing actionable insights.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual monitoring and adjustment process with an automated computational system. The performance prediction module uses statistical analysis and simulation techniques to substitute human administrators' manual work with automated algorithms that predict throughput and latency under various hardware configurations.

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

2Measurement precision

If detailed performance monitoring and simulation is implemented, then prediction accuracy is improved, but system complexity increases

Engineering Contradiction:
Improveprediction accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the complex performance prediction task into distinct modular components: a statistics collection module that gathers performance data, a performance prediction module that runs simulations, and a recommendation generation module that provides optimizations. Each module handles a specific aspect of the prediction process, making the overall system more manageable and maintainable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The performance prediction module acts as an intermediary between the database system and administrators. It collects raw performance statistics, processes them through simulations, and transforms them into meaningful predictions and recommendations, simplifying the interface between complex system behavior and user-friendly outputs.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If automated performance prediction system is deployed, then administrative burden is reduced, but initial implementation cost increases

Engineering Contradiction:
Improveadministrative burdenVSAvoidimplementation cost
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The performance prediction system is designed to be universal and multi-functional, working with various database workloads and hardware configurations. The same core prediction engine can evaluate different scenarios (memory changes, CPU changes, I/O changes), making it a versatile tool that provides multiple benefits from a single implementation.

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

Solution Approach 2:

The system performs preliminary actions by predicting performance outcomes before actual hardware changes are made. Administrators can evaluate multiple hypothetical scenarios and select the optimal configuration before implementation, preventing costly trial-and-error approaches and reducing the risk of poor resource allocation decisions.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8010337B2Predicting database system performance
Publication Date: 2011.08.30 MICROSOFT TECHNOLOGY LICENSING LLC
  • US8010337B2 patent drawing
  • US8010337B2 patent drawing
  • US8010337B2 patent drawing

AI summary

A prediction system may perform capacity planning for one or more resources of a database systems, such as by understanding how different workloads are using the system resources and/or predicting how the performance of the workloads will change when the hardware configuration of the resource is changed and/or when the workload changes. The prediction system may use a detailed, low-level tracing of a live database system running an application workload to monitor the performance of the current database system. In this manner, the current monitoring traces and analysis may be combined with a simulation to predict the workload's performance on a different hardware configuration. More specifically, performance may be indicated as throughput and/or latency, which may be for all transactions, for a particular transaction type, and/or for an individual transaction. Database system performance prediction may include instrumentation and tracing, demand trace extraction, cache simulation, disk scaling, CPU scaling, background activity prediction, throughput analysis, latency analysis, visualization, optimization, and the like.