×

Systems And Methods For Performing Index Joins Using Auto Generative Queries

  • US 20120330988A1
  • Filed: 06/24/2011
  • Published: 12/27/2012
  • Est. Priority Date: 06/24/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for performing index joins, comprising:

  • receiving, at a query processor in a database management system, an instruction to perform an index join operation between columns in a first table and a second table, wherein the query processor does not have direct access to an index of the first table or the second table for performing the index join operation;

    automatically generating a query having a where clause equality expression that equates an indexed column of the second table with a parameter or updatable constant;

    substituting a value from a row of the first table for the parameter or updatable constant;

    executing the query on the index of the second table to fetch any one or more rows of the second table that satisfy the where clause by having an index value that matches the substituted value;

    repeating the substituting and executing steps for each row of the first table; and

    performing the index join operation using the fetched one or more rows.

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