IP Library Granted Patent US 7,953,726
Granted Patent B2
US 7,953,726 · App. 12/185,103 · Granted May 31, 2011

Generated predicates from materialized result

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,953,726
App. No.
12/185,103
Granted
May 31, 2011
Kind
B2
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.

Claims (9)

1. 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 the same join predicate, applying the derived join predicate to the earlier table in the join sequence to reduce an amount of rows that need to be joined between the tables in the multiple table query during processing of the join sequence; and

storing a result of applying the derived join predicate.

2. The computer readable medium of claim 1 , wherein each derived predicate is available as an indexable predicate.

3. The computer readable medium of claim 2 , wherein each derived predicate comprises a predicate that compares a value with a collection of values.

4. The computer readable medium of claim 2 , wherein each derived predicate comprises a predicate that compares a value with a range of values.

5. The computer readable medium of claim 1 , wherein factors for determining whether a table earlier in the join sequence for the multiple table query has a same join predicate comprises one or more of the group consisting of: a number of tables in the join sequence with strong filtering, join predicates or indexing dictates a join sequence that makes best use of join predicates but no filtering, and an out join in the join sequence.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 24, 2020
From: PURCELL, TERENCE PATRICK
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 053881/0775 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 18, 2019
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: WRP IP MANAGEMENT, LLC
Reel/Frame 049033/0410 →