ANALYZING, OPTIMIZING AND REWRITING QUERIES USING MATCHING AND COMPENSATION BETWEEN QUERY AND AUTOMATIC SUMMARY TABLES

Patent №

US 6,847,962

Granted

2005-01-25

Filed 2000

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

4

nlp · kr · planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09502821

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.

Natural languageKnowledge representationPlanningAI hardwareG06F 16/24539Y10S 707/99932Y10S 707/99933Y10S 707/99934Y10S 707/99935

AI classification

Knowledge representation1.00
Natural language1.00
Planning0.89
AI hardware0.87
Evolutionary computation0.01
Speech0.00
Machine learning0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 106100042

Assignors

COCHRANE, ROBERTA JO, LAPIS, GEORGE, LEUNG, TING YU, PASKIN, MARK A., PIRAHESH, MIR HAMID, SUN, YANG, URATA, MONICA SACHIYE, ZAHARIOUDAKIS, MARKOS

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC