×

Query optimization by predicate move-around

DC
  • US 5,659,725 A
  • Filed: 06/06/1994
  • Issued: 08/19/1997
  • Est. Priority Date: 06/06/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of operation of a data base system for optimizing a query having predicates applicable to attributes involved in the query, the method comprising the steps of:

  • making a query graph data structure for the query by creating a label with at least one predicate applicable to the attributes mentioned in at least one node;

    in a parent node of the query graph data structure, inferring a first at least one new predicate in the parent node'"'"'s label from a predicate in a label belonging to any child node of the parent, and propagating the inferred first at least one new predicate to the parent node;

    in a child node of the query graph data structure, inferring a second at least one new predicate in the child node'"'"'s label from a predicate in a label belonging to any parent of the node and propagating the inferred second at least one new predicate to children of the parent node; and

    generating an optimized query from the query graph data structure by removing from the query graph data structure any redundant predicates.

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