Generating a visualization of a metric at one or multiple levels of execution of a database workload
First Claim
Patent Images
1. A method performed by a processing system comprising:
- receiving multiple measurements of a plurality of metrics relating to physical operators, in a physical execution tree, executing a database query;
determining logical operators in a query execution plan for executing the database query, wherein the query execution plan is determined from the physical execution tree, and each logical operator is associated with at least one of the physical operators;
aggregating the multiple measurements of the plurality of metrics at multiple levels associated with the logical operators;
generating a visualization representing execution of the database query, the visualization comprising a representation of the measurements of at least one of the metrics at one of the levels; and
updating the visualization periodically to include current measurements, wherein the updating of the visualization includes;
suppressing unhelpful information by one of hiding a non-executing portion of the database query, hiding an insignificant metric value of the database query, or using a logarithmic scale for a displayed chart;
receiving a first instruction to drill down on the visualization from a node level to a path level, wherein the first instruction includes a transition from displaying a first metric of a first logical operator at the node level to displaying the first metric of the first logical operator at the path level; and
pivoting, upon receiving a second instruction, to display the visualization along a different dimension, wherein the pivoting includes displaying the first metric for all of the logical operators at the path level.
12 Assignments
0 Petitions
Accused Products
Abstract
Described herein are techniques for generating a visualization relating to execution of a workload. Multiple measurements of a plurality of metrics relating to execution of the workload may be aggregated at multiple levels of execution. A visualization may be generated that comprises a representation of the measurements of a metric at one of the levels of execution.
77 Citations
14 Claims
-
1. A method performed by a processing system comprising:
-
receiving multiple measurements of a plurality of metrics relating to physical operators, in a physical execution tree, executing a database query; determining logical operators in a query execution plan for executing the database query, wherein the query execution plan is determined from the physical execution tree, and each logical operator is associated with at least one of the physical operators; aggregating the multiple measurements of the plurality of metrics at multiple levels associated with the logical operators; generating a visualization representing execution of the database query, the visualization comprising a representation of the measurements of at least one of the metrics at one of the levels; and updating the visualization periodically to include current measurements, wherein the updating of the visualization includes; suppressing unhelpful information by one of hiding a non-executing portion of the database query, hiding an insignificant metric value of the database query, or using a logarithmic scale for a displayed chart; receiving a first instruction to drill down on the visualization from a node level to a path level, wherein the first instruction includes a transition from displaying a first metric of a first logical operator at the node level to displaying the first metric of the first logical operator at the path level; and pivoting, upon receiving a second instruction, to display the visualization along a different dimension, wherein the pivoting includes displaying the first metric for all of the logical operators at the path level. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a database to store measurements of metrics relating to physical operators, in a physical execution tree, executing a database query, wherein the metrics are collected by a query execution engine during execution of the database query; an aggregator, executed by a processor, to aggregate the measurements of the metrics at multiple levels of execution of the database query, wherein the multiple levels are associated with logical operators, and each logical operator corresponds to at least one of the physical operators; a web server to provide a user interface to allow selection of one or more of the metrics and one of the levels; and a visualization generator, executed by a processor, to generate a visualization representing execution of the database query, the visualization comprising a representation of the measurements of a selected metric at a selected level of execution, wherein the user interface is further to allow updating of the visualization periodically to include current measurements, and further wherein to allow the updating of the visualization the user interface is to; receive a first instruction to drill down on the visualization from a node level to a path level, wherein the first instruction includes a transition from displaying a first metric of a first logical operator at the node level to displaying the first metric of the first logical operator at the path level; and pivot, upon receiving a second instruction, to display the visualization along a different dimension, wherein the pivoting includes displaying the first metric for all of the logical operators at the path level. - View Dependent Claims (10)
-
-
11. A non-transitory computer-readable storage medium storing instructions for execution by a computer, the instructions when executed causing the computer to:
-
receive multiple measurements of a plurality of metrics relating to physical operators, in a physical execution tree, executing a database workload; determine logical operators in an execution plan for executing the database workload, wherein the execution plan is determined from the physical execution tree, and each logical operator is associated with at least one of the physical operators; aggregate the multiple measurements of the plurality of metrics at multiple levels associated with the logical operators; generate a visualization representing execution of the workload, the visualization comprising a representation of the multiple measurements of at least one of the metrics at one of the levels; and update the visualization periodically to include current measurements, wherein to update the visualization, the instructions when executed cause the computer further to; suppress unhelpful information by one of hiding a non-executing portion of a database query, hiding an insignificant metric value of the database query, or using a logarithmic scale for a displayed chart; receive a first instruction to drill down on the visualization from a node level to a path level, wherein the first instruction includes a transition from displaying a first metric of a first logical operator at the node level to displaying the first metric of the first logical operator at the path level; and pivot, upon receiving a second instruction, to display the visualization along a different dimension, wherein the pivoting includes displaying the first metric for all of the logical operators at the path level. - View Dependent Claims (12, 13, 14)
-
Specification