Automating statistics management for query optimizers
AssigneeMicrosoft Corporation
InventorsSurajit Chaudhuri, Vivek Narasayya
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsSurajit Chaudhuri, Vivek Narasayya
Estimating the term…
In a database system, a method for determining a set of essential statistics. A set of potentially relevant, but unconstructed, statistics for a user query comprising a plurality of operators is compiled. A first value is assigned to the unconstructed statistics and a first projected query cost is computed for the query wherein the unconstructed statistics have the first value. A second value is assigned to the unconstructed statistics and a second projected query cost is computed for the query wherein the unconstructed statistics have the second value. The first and second projected query costs are compared and the determination of essential statistics is discontinued if the first and second projected query costs are equivalent. If the first and second projected query costs are not equivalent, an unconstructed statistic is selected to build and process is repeated until the first and second projected query costs are equivalent or all the unconstructed potentially relevant statistics have been constructed. Statistics which do not sufficiently impact a query plan may be added to a drop list for elimination.
In a database system, a method for determining a set of statistics with respect to a query workload comprising the steps of:
In a database system, a method for evaluating the utility of at least one candidate statistic in the estimation of the selectivity of a query, comprising the steps of:
In a database system, a method for determining a set of statistics with respect to a query workload comprising the steps of:
In a database system, a method for providing automated database statistics management for creating and maintaining a set of essential statistics with respect to a query workload comprising the steps of:
A computer readable medium having computer-executable instructions for determining a set of statistics with respect to a query workload comprising the steps of:
A computer readable medium having computer-executable instructions for evaluating the utility of at least one candidate statistic in the estimation of the selectivity of a query, comprising the steps of:
A computer readable medium having computer-executable instructions for determining a set of statistics with respect to a query workload comprising the steps of:
A computer readable medium having computer-executable instructions for providing automated database statistics management for creating and maintaining a set of essential statistics with respect to a query workload comprising the steps of:
In a database system, an apparatus for determining a set of statistics with respect to a query workload comprising:
In a database system, an apparatus for evaluating the utility of at least one candidate statistic in the estimation of the selectivity of a query, comprising:
In a database system, an apparatus for determining a set of statistics with respect to a query workload comprising:
In a database system, an apparatus for providing automated database statistics management for creating and maintaining a set of essential statistics with respect to a query workload comprising:
Dependencies are inferred from the claim text.