Patents
US 10,691,695 B2#26934285 Most CitedActiveUnited States (USPTO)Utility

Combined sort and aggregation

4Forward Citations (#26934285 Global)
0.7/yrCitation Velocity (#11811465 Global)
1.14Citation PageRank (#34935552 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Innovative techniques are disclosed for performing a combined sort and aggregation operation involving eagerly performing aggregation while sorting. The techniques described herein enable an aggregation and a group-by operation to be performed using an amount of system memory that is far less than the system memory required to store all the data records being processed while minimizing the need to spill data to disk. This combined sort and aggregation operation has better performance than conventional techniques since system memory is used more efficiently. In certain embodiments, a combined sort and aggregation operation is disclosed that enables the efficient sorting and aggregation of data records when the desired aggregation function is composable (such as SUM, COUNT, MIN and MAX aggregate operations).

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving, by a data processing system comprising one or more processors and associated memory, a request to apply an aggregate function to a plurality of records and to group results by values of a particular field of the plurality of records; determining, by the data processing system, a result for the request, wherein determining the result is performed by the data processing system using an amount of the memory that is less than an amount of memory needed for storing the plurality of records; and outputting, by the data processing system, the result as a response 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 (22)

PatentTitleYearCitations
US 4,611,280 ASorting method198693
US 5,487,166 AComputer with two-dimensional merge tournament sort using offset-value coding199639
US 5,640,554 AParallel merge and sort process method and system thereof199765
US 5,799,210 AMethod for allocating either private or shared buffer memory for storing data from sort operations in accordance with an assigned value or threshold value199824
US 5,850,547 AMethod and apparatus for parallel processing aggregates using intermediate aggregate values199859
US 5,852,826 AParallel merge sort method and apparatus199880
US 5,951,658 ASystem for dynamic allocation of I/O buffers for VSAM access method based upon intended record access where performance information regarding access is stored in memory199956
US 6,105,024 ASystem for memory management during run formation for external sorting in database system200065
US 2003065688 A1Adaptive memory allocation—82
US 2004073763 A1Dynamic and automatic memory management—31
US 7,409,517 B2Dynamic and automatic memory management200821
US 7,496,572 B2Reorganizing database objects using variable length keys200919
US 7,590,620 B1System and method for analyzing data records2009122
US 7,725,900 B2Method of assigning objects to processing units201022
US 2010174690 A1Method, Apparatus and Computer Program Product for Maintaining File System Client Directory Caches with Parallel Directory Writes—70
US 2012254173 A1Grouping data—19
US 8,478,755 B2Sorting large data sets20137
US 2014006878 A1Systems and Methods for Enhanced Accuracy NPML Calibration—5
US 9,129,004 B2Multi-interval quicksort algorithm for complex objects201510
US 9,274,950 B2Data restructuring in multi-level memory hierarchies20165
US 2017228319 A1Memory-Constrained Aggregation Using Intra-Operator Pipelining—9
US 2017249359 A1Efficient method for logical completion of a deductive catalogue used for general constraints treatment in the extended relational database concept—6

Non-Patent Literature (5)

  • "Sorting Variable Length Records", IBM i7.2, Sorting and Merging Files, https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzase/cblsortvarlen.htm, retrieved on Jul. 26, 2017, 1 page.
  • "Sorting Variable-Length Records-CA VM:SortTM-1.4-CA Technologies Documentation", documentation powered by DocOps, https://docops.ca.com/ca-vm-sort/1-4/en/using/sorting-andmerging-files/sorting-variable-length-records, retrieved on Jul. 25, 2017, 1 page.
  • “Sorting Variable-Length Records—CA VM:SortTM—1.4—CA Technologies Documentation”, documentation powered by DocOps, https://docops.ca.com/ca-vm-sort/1-4/en/using/sorting-andmerging-files/sorting-variable-length-records, retrieved on Jul. 25, 2017, 1 page.
  • Auger, et al., "Merge Strategies: from Merge Sort to TimSort", HAL archivepouvertes.fr, Dec. 9, 2015, hal-01212839v2, 15 pages.
  • Rhone; Stefanie, "Oracle Fusion Middleware, User's Guide for Oracle Data Visualization Desktop", Oracle, E70158-02, Oct. 2016, 96 pages.