The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jan. 25, 2005
Filed:
Feb. 11, 2000
Roberta JO Cochrane, Los Gatos, CA (US);
George Lapis, San Jose, CA (US);
Ting Yu Leung, San Jose, CA (US);
Mark A. Paskin, San Pablo, CA (US);
Mir Hamid Pirahesh, San Jose, CA (US);
Yang Sun, Sunnyvale, CA (US);
Monica Sachiye Urata, Saratoga, CA (US);
Markos Zaharioudakis, San Jose, CA (US);
Roberta Jo Cochrane, Los Gatos, CA (US);
George Lapis, San Jose, CA (US);
Ting Yu Leung, San Jose, CA (US);
Mark A. Paskin, San Pablo, CA (US);
Mir Hamid Pirahesh, San Jose, CA (US);
Yang Sun, Sunnyvale, CA (US);
Monica Sachiye Urata, Saratoga, CA (US);
Markos Zaharioudakis, San Jose, CA (US);
International Business Machines Corporation, Armonk, NY (US);
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.