Cache conscious techniques for generation of quasi-dense grouping codes of compressed columnar data in relational database systems
Abstract
Herein are techniques for dynamic aggregation of results of a database request, including concurrent grouping of result items in memory based on quasi-dense keys. Each of many computational threads concurrently performs as follows. A hash code is calculated that represents a particular natural grouping key (NGK) for an aggregate result of a database request. Based on the hash code, the thread detects that a set of distinct NGKs that are already stored in the aggregate result does not contain the particular NGK. A distinct dense grouping key for the particular NGK is statefully generated. The dense grouping key is bound to the particular NGK. Based on said binding, the particular NGK is added to the set of distinct NGKs in the aggregate result.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: concurrently by each thread of a plurality of computational threads: calculating a hash code that represents a particular natural grouping key (NGK) for an aggregation needed for a database request; detecting, based on the hash code, that a grouping key mapping for the aggregation does not contain the particular NGK; statefully generating a distinct dense grouping key for the particular NGK; binding, in the grouping key mapping, the dense grouping key with the particular NGK; and generating a result for the database request based on the grouping key mapping.
- Claim 2Depends on #1
The method of claim 1 wherein the dense grouping key comprises at least one selected from a group consisting of: a number, and a next value in a monotonically increasing sequence.
- Claim 3Depends on #2
The method of claim 2 wherein the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Bagwell, Phil, “Ideal Hash Trees”, https://hashingit.com/elements/research-resources/2001-ideal-hash-trees.pdf, dated 2001, 19 pages.
- Bellamkonda, U.S. Appl. No. 15/063,828, filed Mar. 8, 2016, Final Office Action, dated Sep. 3, 2020.
- Bellamkonda, U.S. Appl. No. 15/063,828, filed Mar. 8, 2016, Notice of Allowance, dated Feb. 23, 2021.
- Bellamkonda, U.S. Appl. No. 15/063,828, filed Mar. 8, 2016, Office Action, dated Apr. 2, 2020.
- Bellamkonda, U.S. Appl. No. 15/063,828, filed Mar. 8, 2016, Office Action, dated Feb. 2, 2021.