COST-BASED QUERY REWRITE USING MATERIALIZED VIEWS

Patent №

US 7,991,765

Granted

2011-08-02

Filed 2008

Owner

TERADATA CORPORATION

Lab

AI components

2

planning · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

12183571

A system and method of rewriting a database query where the query contains an aggregate includes the following. If one or more aggregate materialized views are considered, rewriting the query using an aggregate materialized view. If one or more non-aggregate multi-table materialized views are considered, the query is rewritten using a multi-table materialized view. A join cost is determined for each such non-aggregate multi-table materialized view. If one or more non-aggregate single table materialized views are considered, the query is rewritten using the single table materialized view. A join cost is determined for each such non-aggregate single table materialized view. Finally, a current total cost is determined for use of various materialized views as a function of join cost, aggregation cost and spool cost to select a rewritten query.

PlanningAI hardwareG06F 16/24539G06F 16/24542

AI classification

Planning0.99
AI hardware0.91
Knowledge representation0.11
Evolutionary computation0.06
Natural language0.03
Machine learning0.01
Speech0.00
Vision0.00

Ownership

TERADATA CORPORATION

assignment · 214200402

Assignors

GUI, HONG, AU, GRACE, CHIANG, KUORONG

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

© 2026 NYSGPT2525 LLC