×

Rewrite of queries containing rank or rownumber or Min/Max aggregate functions using a materialized view

  • US 20060212436A1
  • Filed: 05/19/2006
  • Published: 09/21/2006
  • Est. Priority Date: 03/26/2002
  • Status: Active Grant
First Claim
Patent Images

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

  • receiving a query that requests N top ranking rows from groups of rows in a base table, wherein said ranking is based on a particular ranking criteria;

    determining whether said received query satisfies one or more criteria for rewriting, wherein said criteria include that N be less than a minimum threshold number associated with a materialized view; and

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

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