×

Rewrite of queries containing rank or rownumber or min/max aggregate functions using a materialized view

  • US 8,103,689 B2
  • Filed: 01/12/2011
  • Issued: 01/24/2012
  • Est. Priority Date: 03/26/2002
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of rewriting queries, the method comprising:

  • a database computer system performing the steps of;

    receiving a query that requests ranked results, each result produced by an aggregate function applied to a group of a plurality of groups of particular rows from;

    a base table, ora join of base tables;

    determining whether said received query satisfies one or more criteria for rewriting; and

    if said received query satisfies said one or more criteria, then rewriting said query to produce a rewritten query that references a materialized view; and

    wherein said materialized view ranks aggregate function results of said aggregate function applied to groups of said particular rows, said aggregate function results including an aggregate function result for each group of said groups of particular rows.

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