Global Hash Tables Strike Back! An Analysis of Parallel GROUP BY Aggregation
Daniel Xue, Ryan Marcus
摘要
Efficiently computing group aggregations (i.e., GROUP BY) on modern architectures is critical for analytic database systems. Hashbased approaches in today's engines predominantly use a partitioned approach, in which incoming data is partitioned by key values so that every row for a particular key is sent to the same thread. In this paper, we revisit a simpler strategy: a fully concurrent aggregation technique using a shared hash table. While approaches using general-purpose concurrent hash tables have generally been found to perform worse than partitioning-based approaches, we argue that the key ingredient is customizing the concurrent hash table for the specific task of group aggregation. Through experiments on synthetic workloads (varying key cardinality, skew, and thread count), we demonstrate that in morsel-driven systems, a purposebuilt concurrent hash table can match or surpass partitioning-based techniques. We also analyze the operational characteristics of both techniques, including resizing costs and memory pressure. In the process, we derive practical guidelines for database implementers. Overall, our analysis indicates that fully concurrent group aggregation is a viable alternative to partitioning.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper4
- To Partition, or Not to Partition, That is the Join Question in a Real SystemMaximilian Bandle, Jana Giceva, Thomas NeumannSIGMOD 2021 · 被引用 43 次
- IcebergHT: High Performance Hash Tables Through Stability and Low AssociativityPrashant Pandey, Michael A. Bender, Alex Conway, Martin Farach-Colton 等SIGMOD 2023 · 被引用 17 次
- A Practical Approach to Groupjoin and Nested AggregatesPhilipp Fent, Thomas NeumannVLDB 2021 · 被引用 11 次
- Robust External Hash Aggregation in the Solid State AgeLaurens Kuiper, Peter Boncz, Hannes MühleisenICDE 2024 · 被引用 7 次
相关 Paper
- DyCuckoo: Dynamic Hash Tables on GPUsYuchen Li, Qiwei Zhu, Zheng Lyu, Zhongdong Huang 等ICDE 2021 · 被引用 28 次
- DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awarenessAntonios Katsarakis, Vasilis Gavrielatos, Nikos NtarmosHPDC 2024 · 被引用 3 次
- One-sided RDMA-Conscious Extendible Hashing for Disaggregated MemoryPengfei Zuo, Jiazhao Sun, Liu Yang, Shuangwu Zhang 等USENIX ATC 2021 · 被引用 113 次
- DRAMHiT: A Hash Table Architected for the Speed of DRAMVikram Narayanan, David Detweiler, Tianjiao Huang, Anton BurtsevEuroSys 2023 · 被引用 8 次
- Cache-Efficient Top-k Aggregation over High Cardinality Large DatasetsTarique Siddiqui, Vivek R. Narasayya, Marius Dumitru, Surajit ChaudhuriVLDB 2024
