Executing alternative plans for a SQL statement
First Claim
Patent Images
1. A method comprising,for each query in a plurality of queries:
- a query optimizer generating a plurality of alternate execution plans based on said each query and a set of parameters;
causing execution by a database server of each alternate execution plan of said plurality of alternate execution plans; and
generating output that describes characteristics of said execution.
1 Assignment
0 Petitions
Accused Products
Abstract
Under automated alternate plan analysis, a query optimizer generates candidate execution plans. The candidate execution plans are selected as alternate execution plans for the query and execution. Output describing characteristics of each alternate execution plan and/or its execution is generated and/or compared. From this information, it may be determined, for example, whether results returned by any of the alternate execution plans are the same and whether the least cost execution plan is actually the most efficiently executed.
200 Citations
22 Claims
-
1. A method comprising,
for each query in a plurality of queries: -
a query optimizer generating a plurality of alternate execution plans based on said each query and a set of parameters; causing execution by a database server of each alternate execution plan of said plurality of alternate execution plans; and generating output that describes characteristics of said execution. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification