Patents
US 7,593,926 B2#18542375 Most CitedExpiredUnited States (USPTO)Utility

Partial pre-aggregation in relational database queries

6Forward Citations (#18542375 Global)
0.3/yrCitation Velocity (#22468364 Global)
1.39Citation PageRank (#25766145 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A partial pre-aggregation database operation improves processing efficiency of database queries by reducing the number of records input into a subsequent database operation, provided the query includes a final aggregation. A query optimizer is provided to determine when it is economical to partially pre-aggregate data records and when it is not. The partial pre-aggregation creates a record store in memory as input records are received. The record store is then used by another database operator, which saves the other database operator from having to re-create the record store.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 6.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method of processing a database query, wherein the database query comprises a join operator and an aggregation operator, the method comprising: inputting one or more records into a single record store memory, wherein the one or more records represent one or more rows of a table, the table having columns representing one or more fields; determining a value of a column associated with an aggregation operator; determining a value of a column associated with a join operator; determining when the value of the column associated with the aggregation operator is equivalent to th

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 5,511,190 AHash-based database grouping system and method1996267
US 5,589,559 AFluoroelastomer and process for producing the same19968
US 5,781,896 AMethod and system for efficiently performing database table aggregation using an aggregation index199883
US 5,832,475 ADatabase system and method employing data cube operator for group-by operations1998184
US 6,029,163 AMethods for collecting query workload based statistics on column groups identified by RDBMS optimizer2000148
US 6,032,144 AOptimization of queries using relational algebraic theta-semijoin operator2000206
US 6,115,705 ARelational database system and method for query processing using early aggregation2000188
US 6,199,063 B1System and method for rewriting relational database queries2001167
US 6,260,037 B1Method and computer program product for implementing skip key processing for database grouping queries involving aggregate operations by using one or more indices200121
US 2001013030 A1Defining and characterizing an analysis space for precomputed views—99
US 6,282,541 B1Efficient groupby aggregation in tournament tree sort200142
US 6,397,204 B1Method, system, and program for determining the join ordering of tables in a join query2002110
US 2002077997 A1Server integrated systems and methods for processing precomputed views—42
US 6,430,550 B1Parallel distinct aggregates200266
US 6,460,027 B1Automatic recognition and rerouting of queries for optimal performance2002101
US 6,480,836 B1System and method for determining and generating candidate views for a database2002122
US 6,493,699 B2Defining and characterizing an analysis space for precomputed views200277
US 6,496,819 B1Rewriting a query in terms of a summary based on functional dependencies and join backs, and based on join derivability2002153
US 6,625,593 B1Parallel query optimization strategies for replicated and partitioned tables2003117

Non-Patent Literature (5)

  • Chaudhuri, et al., "Including Group-By in Query Optimization," VLDB Conference, 1994, pp. 13.
  • Gray, et al., "Data Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Totals", 1995, pp. 10.
  • Knuth, "The Art of Computer Programming", vol. 2, Mar. 27, 2005, pp. 15.
  • Larson, "Grouping and Duplicate Elimination: Benefits of Early Aggregation", Dec. 20, 1997, pp. 26.
  • O'Neil, et al., "The LRU-K Page Replacement Algorithm For Database Disk Buffering", ACM, 1993, pp. 1-10.