Patents
US 7,991,765 B2#9971208 Most CitedActiveUnited States (USPTO)Utility

Cost-based query rewrite using materialized views

10Forward Citations (#9971208 Global)
0.7/yrCitation Velocity (#11265639 Global)
2.96Citation PageRank (#7731732 Global)
10Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 10.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of rewriting a database query where the query contains an aggregate, the method comprising: 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, rewriting the query using a multi-table materialized view and determining a join cost for each such non-aggregate multi-table materialized view; if one or more non-aggregate single table materialized views are considered, rewriting the query using the single table materialized view and determining a join

  2. Claim 2Depends on #1

    The method of claim 1 and fu

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗