×

Query processing system that computes GROUPING SETS, ROLLUP, and CUBE with a reduced number of GROUP BYs in a query graph model

  • US 5,963,936 A
  • Filed: 06/30/1997
  • Issued: 10/05/1999
  • Est. Priority Date: 06/30/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. In a relational database management system utilizing a data processor for storing data in the form of at least one table comprised of tuples having one or more columns, wherein the data contained in the relational database management is retrievable by means of query language aggregation queries, a data processor implemented method for increasing the computational efficiency of the calculation of an aggregation query by reducing the number of GROUP BY operations required to specify the aggregation query, the method comprising:

  • receiving an aggregation query that includes two or more element lists;

    forming the intersection of a first element list of the aggregation query and a second element list of the aggregation query by inputting a first GROUP BY of the first element list to a second GROUP BY of the second element list; and

    wherein forming includes stacking a first GROUP BY operation with respect to a second GROUP BY operation to represent results of the GROUP BY of the first element list, the second GROUP BY of the second element list, and at least a third GROUP BY of a third element list produced by the stacking of the first and second GROUP BY operations.

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