×

Iterative dynamic programming system for query optimization with bounded complexity

  • US 5,671,403 A
  • Filed: 12/30/1994
  • Issued: 09/23/1997
  • Est. Priority Date: 12/30/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for selecting an execution plan P for a N-way join query in a computer-implemented database system having a plurality of stored database relations, wherein said N-way join query is represented by a join graph G connecting each Ri of a plurality N+1 of relation nodes by a predicate edgeEij to another Rj of said relation node plurality to form a plurality N of connected node pairs (Ri, Ri) and wherein 1≦

  • i,j≦

    N+1and N>

    1 are positive integers, said method comprising the steps of;

    (a) selecting from said join graph G for a threshold value TL a subgraph GL connecting a plurality NL

    TL of said relation nodes;

    (b) selecting the optimal execution plan PL from among all feasible execution plans for joining said subgraph GL of said relation nodes;

    (c) replacing said relation node subgraph GL in said join graph G with a relation node RL representing the relation produced by said optimal execution plan PL ; and

    (d) repeating said selecting steps (a)-(b) and said replacing step (c) until said execution plan P is selected for said join graph G.

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