Database Performance Tuning Framework for Automated Index Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database performance tuning in cloud computing environments is challenging due to the need for efficient handling of large result sets and multiple calculations, often requiring manual index optimization which is time-consuming and specialized.

Innovation Solution

A database performance tuning framework that generates performance statistics, determines optimization based on these statistics, and implements index suggestions to improve query execution times, with retention of optimizations based on comparison of pre and post-optimization metrics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If manual index optimization is performed to improve database query performance, then query execution speed is improved, but the time and expertise required for optimization increases

Engineering Contradiction:
Improvequery execution speedVSAvoidoptimization time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The system enables the database to automatically identify slow queries and generate index recommendations without human intervention. The database self-diagnoses performance issues by analyzing query execution statistics and automatically proposes optimization strategies, eliminating the need for manual performance tuning by database administrators.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously collects and analyzes query execution statistics in advance to proactively identify slow queries before they become critical performance issues. By performing preliminary analysis of query patterns and execution times, the system can generate index recommendations ahead of time, allowing for preventive optimization rather than reactive troubleshooting.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If comprehensive performance statistics are collected to enable accurate optimization, then optimization accuracy is improved, but the overhead of data collection and processing increases

Engineering Contradiction:
Improveperformance measurement accuracyVSAvoidcomputational overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system extracts only the essential performance metrics needed for index optimization, such as query execution time, frequency of query execution, and data access patterns. Rather than collecting all possible database statistics, the system selectively gathers only those measurements that directly contribute to identifying slow queries and generating effective index recommendations, reducing unnecessary computational overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system implements a balanced approach by collecting sufficient performance statistics to accurately identify slow queries without gathering excessive data that would waste computational resources. The optimization is performed on a subset of critical queries rather than all database operations, achieving effective performance improvement while maintaining reasonable overhead levels.

Inventive Principle:
Principle #16Partial or excessive action

3Ease of operation

If automated performance tuning is implemented to reduce manual intervention, then ease of operation is improved, but the complexity of the tuning system increases

Engineering Contradiction:
Improveease of performance tuningVSAvoidtuning system complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system introduces an automated performance tuning module that acts as an intermediary between the database administrator and the database system. This intermediary automatically analyzes query performance, generates index recommendations, and provides guidance to users, simplifying the complex tasks of performance monitoring and optimization while reducing the need for specialized database tuning expertise.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The performance tuning system is divided into distinct functional modules: a query analysis module that identifies slow queries, a statistics collection module that gathers performance data, a recommendation generation module that proposes index optimizations, and a verification module that validates improvements. This segmentation allows each component to specialize in a specific task, making the overall complex system more manageable and easier to operate.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10915515B2Database performance tuning framework
Publication Date: 2021.02.09 SERVICENOW INC
  • US10915515B2 patent drawing
  • US10915515B2 patent drawing
  • US10915515B2 patent drawing

AI summary

Techniques related to a database performance tuning framework are disclosed. The techniques include a system for improving performance of a database query, the system configured to generate one or more query execution time statistics relating to a database query operation performed by a database in response to a received query, store the query execution time statistics, determine the database query operation is slow based on the stored query execution time statistics, generate one or more database statistics based on the contents of the database, generate a suggested index using one or more of the generated database statistics, create the suggested index, determine another one or more query execution time statistics for the database query operation after creating the suggested index, and retain the suggested index based on a comparison of the stored query execution time statistics and the another query execution time statistics.