Method to help in optimizing a query from a relational data base management system, and resultant method of syntactical analysis
First Claim
1. A method of displaying information representative of a query for a relational database management system (RDBMS) having screen display means, the query comprising a first portion used by the RDBMS to determine a query execution plan and a second portion comprising elements, the query execution plan comprising operations to be executed by the RDBMS, the operations being interconnected through links, said method comprising:
- generating a first set of information representative of the query execution plan, said first set of information including operation names for the respective operations of the query execution plan, possible options and at least one characteristic of each of the operations;
analyzing said first set of information to select selected information including said operation names, said possible options, said at least one characteristics and the links;
performing a syntactical analysis of the query;
forming a syntactical graph from said syntactical analysis, said syntactical graph comprising a second set of information including at least one of said elements of said second portion of the query;
comparing said selected information from said first set of information with second set of information to select said at least one element;
and displaying on said screen display means;
said operations in boxes respectively, each of said boxes incorporating said related operation name, possible option and said characteristic;
links (28) between said boxes by a linear graphical form; and
said at least one element inside at least one box of said boxes.
1 Assignment
0 Petitions
Accused Products
Abstract
The method for help in optimizing a query (10) in a window (24) of a screen of a work station consists of forming a tree (26) representative of the execution plan of the query, representing the tree on the screen (25), making a syntactical analysis of the query in order to form a syntactical graph, comparing the elements of the tree with those of the graph, and completing the tree with elements contained only in the graph. The advantageous result is a method of syntactical analysis consisting of analyzing the function of the RDBMS in order to determine in particular the types of nodes of the syntactical graph and preferably the information associated with these type of nodes.
155 Citations
14 Claims
-
1. A method of displaying information representative of a query for a relational database management system (RDBMS) having screen display means, the query comprising a first portion used by the RDBMS to determine a query execution plan and a second portion comprising elements, the query execution plan comprising operations to be executed by the RDBMS, the operations being interconnected through links, said method comprising:
-
generating a first set of information representative of the query execution plan, said first set of information including operation names for the respective operations of the query execution plan, possible options and at least one characteristic of each of the operations; analyzing said first set of information to select selected information including said operation names, said possible options, said at least one characteristics and the links; performing a syntactical analysis of the query; forming a syntactical graph from said syntactical analysis, said syntactical graph comprising a second set of information including at least one of said elements of said second portion of the query; comparing said selected information from said first set of information with second set of information to select said at least one element; and displaying on said screen display means; said operations in boxes respectively, each of said boxes incorporating said related operation name, possible option and said characteristic; links (28) between said boxes by a linear graphical form; and said at least one element inside at least one box of said boxes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. Tool for displaying information representative of a query for a relational database management system (RDBMS) having screen display means, the query comprising a first portion used by the RDBMS to determine a query execution plan and a second portion comprising elements, the query execution plan comprising operations to be executed by the RDBMS, the operations being interconnected through links, said tool comprising:
-
input means for a first set of information representative of the query execution plan, said first set of information including operation names for the respective operations of the query execution plan, possible options and at least one characteristic of each of the operations, means for analyzing said first set of information to select selected information including said operation names, said possible options, said at least one characteristic and the links, means for performing a syntactical analysis of the query, means for forming a syntactical graph from said syntactical analysis, said syntactical graph comprising a second set of information including at least one of the elements of the second portion of the query, means for comparing said selected information from said first set of information with said second set of information to select said at least one element, and means for displaying on said screen display means; said operations in boxes respectively, each box respectively incorporating said operation name, said possible option and said at least one characteristic; said links between said boxes by a linear graphical form; and said at least one element inside at least one box of said boxes. - View Dependent Claims (9, 10, 11, 12)
-
- 13. The tool of claim 88, wherein said first set of information has nodes and said syntactical graph also has nodes and said means for comparing comprises means for associating said nodes of said first set of information with said nodes of said syntactical graph and placing projections and tests on nodes of said first set of information.
Specification