×

Partial pre-aggregation in relational database queries

  • US 7,555,473 B2
  • Filed: 03/17/2005
  • Issued: 06/30/2009
  • Est. Priority Date: 06/30/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. One or more computer-readable media comprising computer-executable instructions for processing a database query, the computer-executable instructions comprising instructions for:

  • estimating costs and benefits of a partial pre-aggregation, wherein an estimate of a number of records that would be output from the partial pre-aggregation is based on a formula having inputs comprising;

    a memory space for group records, M;

    a number of input records, N, N being greater than a number, D, of records after full aggregation; and

    an absorption power term, wherein the absorption power term comprises a summation of D terms, each term including a probability of a record belonging in a group of records;

    if indicated by the estimate, partially pre-aggregating records in a database according to a single grouping column to provide a result that contains at least two records having like grouping column values; and

    aggregating records derived from the partial pre-aggregation to provide a result that contains records having unique grouping column values.

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