×

Group pruning from cube, rollup, and grouping sets

  • US 6,775,662 B1
  • Filed: 05/21/2001
  • Issued: 08/10/2004
  • Est. Priority Date: 05/21/2001
  • Status: Active Grant
First Claim
Patent Images

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

  • receiving a particular query that operates on a result set of an aggregate query, wherein the aggregate query specifies an operation for computing the result set such that the result set groups rows by groupings of columns that include a first grouping;

    determining whether the particular query specifies criteria that qualifies a subset of said groupings that does not include said first grouping; and

    if the particular query specifies criteria that qualifies a subset of said groupings that does not include said first grouping, then rewriting said aggregate query to produce a rewritten query that generates a result set that groups rows by said subset of groupings.

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