Generated predicates from materialized result
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)
- 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 ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (50)
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.