Patent · US Expired

Analyzing, optimizing and rewriting queries using matching and compensation between query and automatic summary tables

US6847962B1 · kind B1 · utility

47Cited by
20References
198Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 11, 2000
Grant dateJan 25, 2005
Priority date
Expiry dateFeb 11, 2020

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99935
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method, apparatus, and article of manufacture for optimizing database queries using a derived summary table, wherein a definition of the summary table is based on a full select statement, including, but not limited to, a derived table involving nested GROUP BY operations and complex HAVING clauses with subqueries or joins, that is materialized in the table and describes how the summary table was derived. A query is analyzed using matching/compensation tests between the query and the definition of the summary table (that is, a query by itself) to determine whether expressions occurring anywhere in the query, but not in the summary table, can be derived using either the content in the summary table alone, or after combining (through some relational operator) the content of the summary table with other base tables, and hence the query is subsumed by or overlaps with the summary table definition.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.