Query execution plans by compilation-time execution
Described is a query optimizer comprising a query tuner that performs actual execution of query fragments to obtain actual results during compilation time, and uses those actual results to select a query plan. The actual results may be combined with estimates for fragments that were not executed. The tree may be traversed in a top-down traversal, processing every node. Alternatively, the tree may be traversed in a bottom-up traversal, re-deriving data for higher nodes as each lower level is completed. A limit, such as a time limit or level limit, may be used to control how much time is taken to determine the execution plan.
MICROSOFT TECHNOLOGY LICENSING, LLC
G
G06F
inventional
Campbell Bryce Cesar A. Milind M. Andrew S. Wei Torsten W.
Fraser Galindo-Legaría Joshi Richardson Yu Grabs