×

System and method for optimizing queries on views defined by conditional expressions having mutually exclusive conditions

  • US 20040220896A1
  • Filed: 04/30/2003
  • Published: 11/04/2004
  • Est. Priority Date: 04/30/2003
  • Status: Abandoned Application
First Claim
Patent Images

1. An information retrieval method for optimizing a query, comprising:

  • evaluating the query to identify a view and a predicate referencing a column of the view;

    wherein the view is derived from one or more base tables;

    wherein the column comprises values selected by a conditional expression having condition predicates that define respective mutually exclusive ranges of the values;

    wherein the condition predicates reference one or more base columns of the base tables;

    wherein the predicate define a first range of the values of the column;

    determining whether one of the condition predicates defines a mutually exclusive range of the values that comprises the first range of the values; and

    rewriting the query to eliminate the condition predicates other than the one of the condition predicates and to apply the predicate directly to the base tables without evaluating the conditional expression.

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