Optimization based method for estimating the results of aggregate queries
AssigneeMicrosoft Corporation
InventorsSurajit Chaudhuri, Vivek Narasayya, Guatam Das
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsSurajit Chaudhuri, Vivek Narasayya, Guatam Das
Estimating the term…
A method for estimating the result of a query on a database having data records arranged in tables. The database has an expected workload that includes a set of queries that can be executed on the database. A sample is constructed by selecting data records for inclusion in the sample in a manner that minimizes an estimation error when the data records are acted upon by a query in the expected workload to provide an estimated result. The query accesses the sample and is executed on the sample, returning an estimated query result. The expected workload can be constructed by specifying a degree of overlap between records selected by queries in the given workload and records selected by queries in the expected workload.
A method that estimates the result of an aggregation query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database, the method comprising the steps of:
A method that estimates the result of a query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database, comprising:
A computer readable medium containing computer executable instructions for estimating the result of an aggregation query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database, the instructions comprising:
An apparatus for estimating the result of an aggregation query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database, the apparatus comprising:
A method that estimates the result of an aggregation query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database comprising:
Dependencies are inferred from the claim text.