×

JOIN ORDER OPTIMIZATION IN A QUERY OPTIMIZER FOR QUERIES WITH OUTER AND/OR SEMI JOINS

  • US 20110055199A1
  • Filed: 08/25/2009
  • Published: 03/03/2011
  • Est. Priority Date: 08/25/2009
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for join order optimization in a query optimizer, comprising:

  • receiving a query tree having a plurality of join operators including at least one multi-way join forming a join back bone between relational operators in the query tree, wherein the join operators include at least one of an outer-join, a semi-join, and an anti-semi join;

    transforming the multi-way-join to a multi-join operator with a plurality of join back bone children representing the relational operators;

    tracking dependencies that occur between the join back bone children;

    evaluating join order validity based on the tracked dependencies; and

    applying one or more multi-join rules to the at least one multi-join operator sufficient to generate at least one join subtree representing a potential join order when the at least one join subtree is determined to have a valid join order.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×