×

Rewriting queries to access materialized views that group along an ordered dimension

  • US 6,345,272 B1
  • Filed: 07/27/1999
  • Issued: 02/05/2002
  • Est. Priority Date: 07/27/1999
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing queries, the method comprising the steps of:

  • receiving an aggregate query that places a restriction on an ordered dimension;

    wherein said restriction is specified at a first level of granularity for the dimension;

    wherein said aggregate query does not reference a materialized view that groups results at a second level of granularity of the ordered dimension;

    wherein the second level of granularity is coarser than said first level of granularity;

    determining whether said materialized view satisfies each condition of a first set of conditions; and

    if said materialized view satisfies each condition in said first set of conditions, then rewriting said query to produce a rewritten query that references said materialized view and that includes a rewritten restriction that restricts said ordered dimension at said second level of granularity.

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