Patents
US 7,953,726 B2#7858552 Most CitedActiveUnited States (USPTO)Utility

Generated predicates from materialized result

13Forward Citations (#7858552 Global)
0.9/yrCitation Velocity (#8347320 Global)
1.64Citation PageRank (#19843045 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Processing a multiple table query includes: determining if any tables in the query require materialization; for each table in the query that requires materialization, deriving at least one join predicate on a join column; determining if any tables earlier in a join sequence for the query has same join predicates; and applying the at least one derived join predicate to an earlier table in the join sequence, if there is at least one table earlier in the join sequence that has the same join predicate. This significantly reduces the number of rows that are joined before arriving at the final result.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer readable medium encoded with a computer program for processing a multiple table query, the computer program comprising computer executable instructions for: determining if any tables in the multiple table query require materialization; for each table in the multiple table query that requires materialization, deriving a join predicate on a join column of the table; for each table having a derived join predicate, determining if any other tables earlier in a join sequence for the multiple table query has a same join predicate; responsive to a table earlier in the join sequence having t

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 5,542,073 AComputer program product for choosing largest selectivities among eligible predicates of join equivalence classes for query optimization199653
US 5,903,893 AMethod and apparatus for optimizing a merge-join operation across heterogeneous databases199951
US 5,930,785 AMethod for detecting and optimizing queries with encoding/decoding tables1999112
US 5,937,195 AGlobal control flow treatment of predicated code1999113
US 5,960,428 AStar/join query optimization1999118
US 5,987,453 AMethod and apparatus for performing a join query in a database system1999106
US 6,026,390 ACost-based maintenance of materialized views2000145
US 6,125,360 AIncremental maintenance of materialized views containing one-to-N lossless joins2000101
US 6,138,111 ACardinality-based join ordering200038
US 6,199,063 B1System and method for rewriting relational database queries2001167
US 6,334,128 B1Method and apparatus for efficiently refreshing sets of summary tables and materialized views in a database management system2001123
US 6,339,769 B1Query optimization by transparently altering properties of relational tables using materialized views200291
US 6,341,281 B1Database system with methods for optimizing performance of correlated subqueries by reusing invariant results of operator tree2002329
US 6,345,272 B1Rewriting queries to access materialized views that group along an ordered dimension200260
US 6,356,890 B1Merging materialized view pairs for database workload materialized view selection200266
US 6,356,889 B1Method for determining optimal database materializations using a query optimizer2002114
US 6,377,943 B1Initial ordering of tables for database queries200283

Non-Patent Literature (5)

  • Cheng, J., et al., "An Efficient Hybrid Join Algorithm: A DB2 Protype, Data Engineering," 1991, Proceedings 7th International Conference, 1991, pp. 171-180.
  • Chiang, Lee, et al., Optimizing Large Join Queries Using a Graph-Based Approach, IEEE, Mar.-Apr. 2001, 298-315.
  • Dong H., et al., "Generic Algorithms for Large Join Query Optimization," pp. 1-8.
  • Ibaraki, et al., "On the Optimal Nesting Order for Computing N-Relational Joins," ACM Transactions on Databases Systems, vol. 9, No. 3, Sep. 1984, pp. 482-502.
  • Ioannidis, Y.E., et al., Randomized Algorithms for Optimizing Large Join Queries, SIDMOD Conference, 1990, pp. 312-321.