Patents
US 7,912,834 B2#7122018 Most CitedActiveUnited States (USPTO)Utility

Rewrite of queries containing rank or rownumber or Min/Max aggregate functions using a materialized view

14Forward Citations (#7122018 Global)
0.9/yrCitation Velocity (#7707936 Global)
1.79Citation PageRank (#17285928 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Techniques are provided for improving efficiency of database systems, and in particular, to refreshing materialized views maintained by database systems and rewriting queries to access the materialized views. According to the approaches, a ranked materialized view is incrementally refreshed, and during the incremental refresh operation, rows in the partitions of the materialized view are ranked within the partitions.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of rewriting queries, the method comprising: a database computer system performing the steps of: receiving a query that requests N top ranking rows from groups of rows in a base table, wherein said ranking is based on a particular ranking criteria; query to reference a materialized view; wherein said criteria for rewriting the query includes that: a) the materialized view ranks rows based on said particular ranking criteria; and b) N is less than or equal to a minimum threshold number associated with the materialized view; wherein said materialized view is incrementally refreshed in a

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,773,862 AMethod for mapping a joint venture and maps produced thereby198818
US 5,261,098 AMethod and apparatus for deriving object type and obtaining object type attribute values199358
US 5,276,870 AView composition in a data base management system1994220
US 5,404,506 AKnowledge based information retrieval system1995264
US 5,418,946 AStructured data classification device1995135
US 5,444,842 AMethod and apparatus for displaying and updating structured information199542
US 5,548,755 ASystem for optimizing correlated SQL queries in a relational database using magic decorrelation1996153
US 5,551,027 AMulti-tiered indexing method for partitioned data1996640
US 5,560,005 AMethods and systems for object-based relational distributed databases1996875
US 5,581,758 AComputer program product for object specification, generation, and management in a distributed database199698
US 5,584,024 AInteractive database query system and method for prohibiting the selection of semantically incorrect query parameters1996321
US 5,594,899 AOperating system and data base having an access structure formed by a plurality of tables1997154
US 5,598,559 AMethod and apparatus for optimizing queries having group-by operators1997205
US 5,600,831 AApparatus and methods for retrieving information by modifying query plan based on description of information sources1997223
US 5,659,728 ASystem and method for generating uniqueness information for optimizing an SQL query199754
US 5,701,455 AMethod and apparatus for reordering complex SQL queries using a modified generalized outer join operator199721

Non-Patent Literature (5)

  • "Oracle 9i Materialized Views" An Oracle White Paper (May 2001) 23 pages.
  • Al-Anzi, Fawas S. et al., "Modeling behavior, a Step Towards Defining Functionally Correct Views of Complex Objects in Concurrent Engineering", CIKM '94. Gaitherburg MD, USA, 1994 ACM 089791-674-3, pp. 1-9.
  • Bello, Randall G., et al., "Materialized Views in Oracle", VLDB 1998, Proceedings of 24th International Conference on Very Large Databases, Aug. 24-27, 1998, pp. 659-664.
  • Bhagrava, Gautam et al., "Efficient processing of outer joins and aggregate junctions", Proceedings of the Twelfth International Conference Data Engineering, Feb. 26-Mar. 1, 1996, pp. 441-449.
  • Bhargava, Gautam et al., "Hypergraph based reorderings of outer join queries with complex predicates", Proceedings of the 1995 ACM SIGMOND International Conference on Management of Data and Symposium on Principles of Database Systems, May 22-25, 1995, pp. 304-315.