METHOD FOR CHOOSING OPTIMAL QUERY EXECUTION PLAN FOR MULTIPLE DEFINED EQUIVALENT QUERY EXPRESSIONS
Patent №
US 6,598,044
Granted
2003-07-22
Filed 2002
Owner
MICROSOFT CORPORATION
Lab
AI components
2
kr · evo
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
10183190
A query formulates choices of multiple equivalent forms. A choice is represented by a CHOOSE operator having multiple arguments representing the equivalent forms. A lookup table is generated to include a group for each node other than CHOOSE arguments. For CHOOSE arguments, the generated table includes a single equivalence group having all choose arguments as members. The enumeration algorithm of the optimizer is applied to generate additional members and/or groups, whereby for each group, every member thereof is an equivalent. A cost value is assigned to each member of each group and a member of each group is selected as a lowest cost value member. The lowest cost value members of the groups define an optimized tree and optimization of the query.
AI classification
Ownership
MICROSOFT CORPORATION
assignment · 130040063
Assignors
WAAS, FLORIAN, GALINDO-LEGARIA, CESAR, GRAEFE, GOETZ
On an employer assignment, the assignors are typically the inventors.