{"pub_number":"US10691695B2","doc_number":"10691695","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Combined sort and aggregation","abstract_text":"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).","claims":[{"number":1,"text":"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","independent":true}],"description":"","inventors":[{"name":"Mittal Ashish","slug":"mittal-ashish","country":"US"},{"name":"Vemuri Srinivas","slug":"vemuri-srinivas","country":"US"},{"name":"Eng Kenneth Khiaw Hong","slug":"eng-kenneth-khiaw-hong","country":"US"}],"assignees":[{"name":"Oracle Int Corp","slug":"oracle-int-corp","country":"US"}],"examiners":["Vy Hung T"],"cpc_codes":["G06F 16/244","G06F 16/24535","G06F 16/24556","G06F 16/24578","G06F 7/36"],"ipc_codes":["G06F 16/242","G06F 16/2453","G06F 16/2455","G06F 16/2457","G06F 7/36"],"filing_date":"2018-04-11","pub_date":"2020-06-23","grant_date":"2020-06-23","priority_date":"2017-04-12","expiration_date":"2038-04-11","application_number":"US-201815951002-A","family_id":"FAM-63790132","family_members":[],"citations_made":[{"pub_number":"US4611280A","category":"APP"},{"pub_number":"US5487166A","category":"APP"},{"pub_number":"US5640554A","category":"APP"},{"pub_number":"US5799210A","category":"APP"},{"pub_number":"US5850547A","category":"APP"},{"pub_number":"US5852826A","category":"APP"},{"pub_number":"US5951658A","category":"APP"},{"pub_number":"US6105024A","category":"APP"},{"pub_number":"US2003065688A1","category":"APP"},{"pub_number":"US2004073763A1","category":"APP"},{"pub_number":"US7409517B2","category":"APP"},{"pub_number":"US7496572B2","category":"APP"},{"pub_number":"US7590620B1","category":"SEA"},{"pub_number":"US7725900B2","category":"APP"},{"pub_number":"US2010174690A1","category":"APP"},{"pub_number":"US2012254173A1","category":"APP"},{"pub_number":"US8478755B2","category":"APP"},{"pub_number":"US2014006878A1","category":"APP"},{"pub_number":"US9129004B2","category":"APP"},{"pub_number":"US9274950B2","category":"APP"},{"pub_number":"US2017228319A1","category":"SEA"},{"pub_number":"US2017249359A1","category":"SEA"}],"non_patent_literature":["\"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."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":4,"indexed_forward_citations":4,"backward_citations":22,"npl_citations":5,"citations_per_year":0.67,"pagerank":1.1367350816726685,"citation_rank":26934285,"pagerank_rank":34935552,"velocity_rank":11811465,"family_citations":4}}