×

Range-based query optimizer

  • US 6,439,783 B1
  • Filed: 01/16/1997
  • Issued: 08/27/2002
  • Est. Priority Date: 07/19/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for processing a query that specifies at least one range condition, the method comprising the steps of:

  • (A) creating a Boolean expression that corresponds to the query;

    (B) evaluating the Boolean expression for a current key value;

    (C) before evaluating the Boolean expression for a next key value, performing the steps of (C1) determining a limit key based on said Boolean expression and said current key value;

    (C2) if the Boolean expression evaluates to TRUE for said current key value, then (C2a) fetching a next key value without evaluating the Boolean expression for the next key value;

    (C2b) repeating step C2a until reaching a next key value that is equal to or greater than the limit key;

    (C2c) establishing the next key value that is equal to or greater than the limit key as a new current key value and repeating steps (B) through (C) using the new current key value;

    (C3) if the Boolean expression evaluates to FALSE for said current key value, then (C3a) skipping to a next key value that is equal to or greater than the limit key; and

    (C3b) establishing the next key value that is equal to or greater than the limit key as a new current key value and repeating steps (B) through (C) using the new current key value.

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