×

Hybrid technique for joining tables

  • US 5,241,648 A
  • Filed: 02/13/1990
  • Issued: 08/31/1993
  • Est. Priority Date: 02/13/1990
  • Status: Expired due to Fees
First Claim
Patent Images

1. A machine-executed method for joining first and second tables of a relational database system, the system including an index on a join column of the second table, the method comprising the relational database system-performed steps of:

  • (a) comparing the rows of the first table with a local predicate;

    (b) retrieving rows of the first table which satisfy the local predicate and entering the rows into a sort table;

    (c) ordering the rows of the sort table by join column values;

    (d) retrieving, from the index, identifiers of rows of the second table having join column values satisfying a join predicate and entering the identifiers in a row index (RID) list;

    (e) retrieving, from the second table, rows matching the identifiers of step (d); and

    (f) combining the rows of the sort table with the rows retrieved in step (e) to produce composite rows and entering the composite rows in an intermediate result table.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×