Database Query Termination Tracking for Processing Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database management systems face inefficiencies in query processing due to complex queries and poorly configured tables, leading to long processing times and user impatience, resulting in premature query terminations and wasted resources.

Innovation Solution

An apparatus and program product that track premature query terminations to generate and implement suggestions for improving query processing, including building a waiting value for users and warning them about estimated long-processing queries, and suggesting optimizations such as rescheduling, creating statistics, or changing system configurations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If query processing is allowed to complete fully, then processing accuracy is improved, but processing time increases excessively causing user impatience and premature termination

Engineering Contradiction:
Improveprocessing accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by monitoring query execution in advance and detecting premature termination conditions before they occur. The database management system tracks query progress and predicts when users are likely to terminate based on execution patterns, allowing preventive intervention to complete critical processing steps.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring query execution parameters and comparing them against established thresholds. When queries approach termination conditions, the system provides feedback through automatic adjustments to query prioritization, resource allocation, or execution parameters to ensure completion of essential processing.

Inventive Principle:
Principle #23Feedback

2Reliability

If complex queries are executed with full resources, then processing completeness is improved, but system resource consumption increases excessively

Engineering Contradiction:
Improveprocessing completenessVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system applies partial action by executing only the necessary portion of complex queries that ensures completion before termination conditions are met. Instead of allowing unlimited resource consumption, the system identifies and executes critical processing steps while stopping before excessive resource usage occurs, achieving sufficient processing completeness without wasteful consumption.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes execution parameters dynamically based on query progress and resource usage patterns. When queries approach termination thresholds, the system adjusts parameters such as resource allocation, execution priority, or processing speed to balance completion requirements with resource conservation, preventing excessive consumption while maintaining necessary processing.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If query execution time is extended to complete processing, then result accuracy is improved, but user satisfaction decreases due to impatience

Engineering Contradiction:
Improveresult accuracyVSAvoiduser satisfaction
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The system performs preliminary monitoring and prediction of user termination behavior before actual termination occurs. By analyzing execution patterns and predicting when users are likely to become impatient, the system takes preliminary actions to ensure critical processing completes within acceptable timeframes, balancing accuracy requirements with user patience limits.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements self-service by automatically adjusting query execution based on real-time monitoring without requiring user intervention. The database management system independently detects termination conditions and applies corrective measures such as priority adjustments or resource reallocation to ensure query completion within user patience thresholds, eliminating the need for users to manually manage execution time.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS7996386B2Tracking premature termination of a database query
Publication Date: 2011.08.09 GOOGLE LLC
  • US7996386B2 patent drawing
  • US7996386B2 patent drawing
  • US7996386B2 patent drawing

AI summary

An apparatus and program product that utilize at least one prematurely terminated processing of a database query to improve the processing of the database query. The embodiments discussed track termination information associated with at least one user initiated premature termination of processing of a database query to improve the processing of the database query. Information related to the premature terminations of a database query may be utilized by a DBMS to generate and/or implement suggestions to improve the processing of the database query, resulting in improved query processing, improved performance, fewer premature terminations, and more satisfied users.