Invention Application
- Patent Title: Optimization based method for estimating the results of aggregate queries
-
Application No.: US10935800Application Date: 2004-09-08
-
Publication No.: US20050033739A1Publication Date: 2005-02-10
- Inventor: Surajit Chaudhuri , Vivek Narasayya , Gantam Das
- Applicant: Surajit Chaudhuri , Vivek Narasayya , Gantam Das
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
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. An expected workload is derived comprising 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 expected workload to provide an expected 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.
Public/Granted literature
- US07328221B2 Optimization based method for estimating the results of aggregate queries Public/Granted day:2008-02-05
Information query