Generating a hierarchical plain-text execution plan from a database query
First Claim
Patent Images
1. A system for generating a hierarchical plain-text execution plan comprising:
- an execution plan creator, the execution plan creator receiving a physical operator tree representing a plan to execute a query and generating from the physical operator tree a hierarchical plain-text execution plan from a compiled query plan to create a compile-time execution plan and updating the compile-time execution plan with execution information available when the compile-time execution plan is executed to create and store an execution-time execution plan.
2 Assignments
0 Petitions
Accused Products
Abstract
A system, method and computer-readable medium containing computer-executable instructions for tuning queries is provided. A query processor converts a query into an execution plan in a hierarchical format that conforms to a standardized schema. In one embodiment of the invention, the hierarchical format employed is XML.
88 Citations
19 Claims
-
1. A system for generating a hierarchical plain-text execution plan comprising:
an execution plan creator, the execution plan creator receiving a physical operator tree representing a plan to execute a query and generating from the physical operator tree a hierarchical plain-text execution plan from a compiled query plan to create a compile-time execution plan and updating the compile-time execution plan with execution information available when the compile-time execution plan is executed to create and store an execution-time execution plan. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
16. A method for generating a hierarchical plain-text execution plan for a query, the method comprising:
-
in response to receiving a database query, separating the database query into non-query language constructs and language constructs; generating from the non-query language constructs a first hierarchical plain-text execution plan; generating from the query language constructs a second hierarchical plain-text execution plan; merging the first and second hierarchical plain-text execution plan into a composite compile-time execution plan; updating the composite compile-time execution plan with information available when the composite compile-time execution plan is executed to create and store an execution-time execution plan. - View Dependent Claims (17, 18)
-
-
19. A tangible computer-readable medium including computer-readable instructions for:
-
in response to receiving a database query, separating the database query into non-query language constructs and language constructs and generating from the non-query language constructs a first compile-time hierarchical plain-text execution plan and generating from the query language constructs a second compile-time hierarchical plain-text execution plan; merging the first and second plans together to create a composite compile-time execution plan; and updating the composite compile-time execution plan with information available when the composite compile-time execution plan is executed to create and store an execution-time execution plan.
-
Specification