Graphical query analyzer
First Claim
1. A computer based method for providing a graphical cost analysis of a plurality of user specified queries, the computer based method comprising:
- a. determining an optimal execution plan for one of the user specified queries;
b. displaying on a display device a tree structure representation of the one of the user specified queries, the tree structure representation comprising icon nodes connected by arrow representations, the icon nodes each corresponding to one of query operations which comprise the execution plan, each arrow representation having a width bearing a mathematical relationship to an execution cost of one of the query operations corresponding to an icon node from which the arrow representation originates;
c. checking for user selection of one of the icon nodes via a user input device;
d. in the event of user selection of one of the icon nodes, displaying on the display device additional cost statistics for the query operation corresponding to the one of the icon nodes selected; and
e. repeating steps a-d until the steps have been performed for each of the plurality of user specified queries.
2 Assignments
0 Petitions
Accused Products
Abstract
A user specifies one or more queries comprising a batch of SQL statements. Each query submitted is displayed and represented as a tree, with each operation in the execution plan for the query represented by a corresponding tree node. This representation intuitively conveys the DBMS execution strategy which would be used to process the queries. The tree nodes are displayed as icons, with a unique one of such icons corresponding respectively to each of the possible query operations. In addition, the computing cost of each operation (each node) as a percentage of overall query cost is displayed, as is the cost of each query as a percentage of the overall cost of the specified query batch. A user may select an operation (tree node) with a conventional mouse, whereupon a user interface will show more detailed cost statistics relating to the selected operation.
58 Citations
11 Claims
-
1. A computer based method for providing a graphical cost analysis of a plurality of user specified queries, the computer based method comprising:
-
a. determining an optimal execution plan for one of the user specified queries;
b. displaying on a display device a tree structure representation of the one of the user specified queries, the tree structure representation comprising icon nodes connected by arrow representations, the icon nodes each corresponding to one of query operations which comprise the execution plan, each arrow representation having a width bearing a mathematical relationship to an execution cost of one of the query operations corresponding to an icon node from which the arrow representation originates;
c. checking for user selection of one of the icon nodes via a user input device;
d. in the event of user selection of one of the icon nodes, displaying on the display device additional cost statistics for the query operation corresponding to the one of the icon nodes selected; and
e. repeating steps a-d until the steps have been performed for each of the plurality of user specified queries. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification