Patents

US 7991765 B2: Cost-based query rewrite using materialized views

Granted
2011-08-02
Filed
2008-07-31 application 12183571
Type
Utility · 20 claims
Elsewhere
Google Patents ↗ · USPTO patent document ↗ · USPTO Patent Center record ↗

Abstract

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.

Source: PVGPATDIS, file of 2026-04-10 (ipg110802.xml).

Assignees

AssigneeTypePlaceAlso on furp.orgSource
Teradata US, Inc. 451 patentsUS company or organizationDayton, OHPVGPATDIS, file of 2026-04-10

Inventors

InventorPlacePatentsPerson pageSource
Hong GuiMiddleton, WI3PVGPATDIS, file of 2026-04-10
Grace Kwan-On AuRancho Palos Verdes, CA22PVGPATDIS, file of 2026-04-10
Kuorong ChiangCerritos, CA5PVGPATDIS, file of 2026-04-10

CPC categories

SubclassCategoryFirst groupSource
G06FElectric digital data processingG06F16/24539PVGPATDIS, file of 2026-04-10

Cooperative Patent Classification, as currently assigned (one row per subclass).

Assignments and security interests

RecordedWhatFromToReel/frameSource
2008-08-21Assignment
Assignment of assignor's interest
AU, GRACE signed 2008-07-30
CHIANG, KUORONG signed 2008-07-30
GUI, HONG signed 2008-07-30
TERADATA CORPORATION MIAMISBURG, OH21420/402ECORSEXC, file of 2026-09-25

Documents recorded with the USPTO Assignment Recordation Branch that list this patent. A security interest is a lender’s claim on the patent as collateral; a release ends it.

USPTO bulk data: PatentsView granted patents, disambiguated (PVGPATDIS) for patents, assignees, inventors, places and CPC categories; the USPTO Patent Assignment Dataset (ECORSEXC) for assignments and security interests. Patents filed in the last 20 years. No claims or full text. Links to other records are by name (and state): EXACT means the identical full name and state; FUZZY means a looser name match, with the confidence shown.