Optimization of database queries including grouped aggregation functions
US9244974B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Sep 14, 2007 |
| Grant date | Jan 26, 2016 |
| Priority date | — |
| Expiry date | Jul 14, 2031 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/2462
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Embodiments of the invention provide techniques for generating predicted cardinality statistics for grouped aggregation functions included in database queries. In general, characteristics of a database query are determined, and are then supplied to a probability function configured to generate a predicted cardinality statistic. The generated statistic represents a prediction of the probable cardinality of the results of a grouped aggregation function in the event that the query is executed. The predicted cardinality statistic may be used by a query optimizer to determine an efficient query plan for executing the database query.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.