SQL Query Execution Monitoring via Graphical Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data processing systems provide limited information to users during the execution of SQL queries, making it difficult for users to track progress, identify issues, and optimize queries, leading to frustration and potential long wait times for query completion.

Innovation Solution

A data processing system that generates a graphical user interface (GUI) displaying tracking information for SQL queries, including the number of records processed by each operation, allowing users to visualize query execution and identify bottlenecks, enabling real-time monitoring and optimization of queries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If detailed tracking information is collected for each data processing operation, then users can monitor query execution in real-time and identify bottlenecks, but the system complexity and overhead increase

Engineering Contradiction:
Improvequery execution informationVSAvoidmonitoring system complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent segments the query execution process into discrete data processing operations represented as nodes in a graphical interface. Each node corresponds to a specific operation (e.g., scan, filter, join, aggregate) and displays tracking information independently. This segmentation allows detailed monitoring of individual operations without overwhelming the system, as each node can be monitored separately rather than treating the entire query as a single monolithic process.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary layer between the query execution engine and the user interface. This intermediary component captures tracking information from the execution engine, processes it into meaningful metrics, and presents it through the graphical interface. The intermediary abstracts the complexity of raw execution data, converting it into digestible visual representations that users can interpret without needing to understand the underlying system complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If comprehensive tracking information is displayed for all operations, then users can identify performance issues, but the information overload makes it difficult to focus on critical bottlenecks

Engineering Contradiction:
Improveexecution tracking informationVSAvoidinformation analysis ease
Core Design Contradiction:
Loss of informationVSEase of operation

Solution Approach 1:

The patent applies local quality by providing different levels of information detail for different nodes based on their current execution state and importance. Critical nodes that are currently executing or have performance issues display more detailed tracking information, while nodes that are not active or performing well show summarized information. This selective information presentation helps users focus on critical bottlenecks without being overwhelmed by comprehensive data from all nodes simultaneously.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses color changes and visual indicators to highlight the status and performance characteristics of different data processing operations. Nodes displaying warning or error conditions are visually distinguished through color coding, allowing users to quickly identify problematic areas in the query execution plan. This visual encoding transforms raw numerical tracking data into intuitive visual signals that are easier to interpret at a glance.

Inventive Principle:
Principle #32Color changes

Data Source

PatentUS11188434B2Systems and methods for monitoring execution of structured query language (SQL) queries
Publication Date: 2021.11.30 AB INITIO TECHNOLOGY LLC
  • US11188434B2 patent drawing
  • US11188434B2 patent drawing
  • US11188434B2 patent drawing

AI summary

Techniques for monitoring execution of structured query language (SQL) queries. The techniques include: obtaining a SQL query; generating a query plan for the SQL query, the query plan comprising a plurality of operations to be performed by the data processing system including at least a first operation and a second operation; displaying a graphical user interface (GUI) containing a plurality of GUI elements including a first GUI element representing the first operation and a second GUI element representing the second operation; during execution of the SQL query, gathering tracking information for the SQL query including gathering first tracking information for the first operation and second tracking information for the second operation; and displaying, in the GUI, at least some of the first tracking information in association with the first GUI element and at least some of the second tracking information in association with the second GUI element.