Lune

SIGMOD2025顶会

Efficiently Processing Joins and Grouped Aggregations on GPUs

Bowen Wu, Dimitrios Koutsoukos, Gustavo Alonso

摘要

There is a growing interest in leveraging GPUs for tasks beyond ML, especially in database systems. Despite the existing extensive work on GPU-based database operators, several questions are still open. For instance, the performance of almost all operators suffers from random accesses, which can account for up to 75% of the runtime. In addition, the group-by operator which is widely used in combination with joins, has not been fully explored for GPU acceleration. Furthermore, existing work often uses limited and unrepresentative workloads for evaluation and does not explore the query optimization aspect, i.e., how to choose the most efficient implementation based on the workload. In this paper, we revisit the state-of-the-art GPU-based join and group-by implementations. We identify their inefficiencies and propose several optimizations. We introduce GFTR, a novel technique to reduce random accesses, leading to speedups of up to 2.3x. We further optimize existing hash-based and sort-based group-by implementations, achieving significant speedups (19.4x and 1.7x, respectively). We also present a new partition-based group-by algorithm ideal for high group cardinalities. We analyze the optimizations with cost models, allowing us to predict the speedup. Finally, we conduct a performance evaluation to analyze each implementation. We conclude by providing practical heuristics to guide query optimizers in selecting the most efficient implementation for a given workload.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory Tables 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory Tables 引用了 Query Processing on Tensor Computation Runtimes
  • FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory Tables 引用了 Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS
  • FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory Tables 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
  • FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory Tables 引用了 Terabyte-Scale Analytics in the Blink of an Eye
  • Query Processing on Tensor Computation Runtimes 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • Query Processing on Tensor Computation Runtimes 引用了 A Tensor Compiler for Unified Machine Learning Prediction Serving
  • Query Processing on Tensor Computation Runtimes 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
  • GPU Acceleration of SQL Analytics on Compressed Data 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • GPU Acceleration of SQL Analytics on Compressed Data 引用了 Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS
  • GPU Acceleration of SQL Analytics on Compressed Data 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
  • Efficiently Joining Large Relations on Multi-GPU Systems 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • Efficiently Joining Large Relations on Multi-GPU Systems 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
  • Powerful GPUs or Fast Interconnects: Analyzing Relational Workloads on Modern GPUs 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • Powerful GPUs or Fast Interconnects: Analyzing Relational Workloads on Modern GPUs 引用了 Query Processing on Tensor Computation Runtimes
  • Powerful GPUs or Fast Interconnects: Analyzing Relational Workloads on Modern GPUs 引用了 Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS
  • Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
  • Terabyte-Scale Analytics in the Blink of an Eye 引用了 A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
  • Terabyte-Scale Analytics in the Blink of an Eye 引用了 Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMS
  • Terabyte-Scale Analytics in the Blink of an Eye 引用了 Pump Up the Volume: Processing Large Data on GPUs with Fast Interconnects
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Terabyte-Scale Analytics in the Blink of an EyeBowen Wu, Wei Cui, Carlo Curino, Matteo Interlandi 等VLDB 2026 · 10 次引用
  2. Powerful GPUs or Fast Interconnects: Analyzing Relational Workloads on Modern GPUsMarko Kabic, Bowen Wu, Jonas Dann, Gustavo AlonsoVLDB 2025 · 7 次引用
  3. Efficiently Joining Large Relations on Multi-GPU SystemsTobias Maltenberger, Ilin Tolovski, Tilmann RablVLDB 2025 · 3 次引用
  4. GPU Acceleration of SQL Analytics on Compressed DataZezhou Huang, Krystian Sakowski, Hans Lehnert, Wei Cui 等VLDB 2026 · 1 次引用
  5. FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory TablesChaemin Lim, Suhyun Lee, Jinwoo Choi, Kwanghyun Park 等ICDE 2026

它引用的 Paper14

  1. A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database AnalyticsAnil Shanbhag, Samuel Madden, Xiangyao YuSIGMOD 2020 · 112 次引用
  2. Pump Up the Volume: Processing Large Data on GPUs with Fast InterconnectsClemens Lutz, Sebastian Breß, Steffen Zeuch, Tilmann Rabl 等SIGMOD 2020 · 99 次引用
  3. A Tensor Compiler for Unified Machine Learning Prediction ServingSupun Nakandala, Karla Saur, Gyeong-In Yu, Konstantinos Karanasos 等OSDI 2020 · 60 次引用
  4. Query Processing on Tensor Computation RuntimesDong He, Supun Chathuranga Nakandala, Dalitso Banda, Rathijit Sen 等VLDB 2022 · 54 次引用
  5. Orchestrating Data Placement and Query Execution in Heterogeneous CPU-GPU DBMSBobbi W. Yogatama, Weiwei Gong, Xiangyao YuVLDB 2022 · 45 次引用

相关 Paper

  1. A Case for Graphics-driven Query ProcessingHarish Doraiswamy, Vikas Kalagi, Karthik Ramachandra, Jayant R. HaritsaVLDB 2023 · 4 次引用
  2. TCUDB: Accelerating Database with Tensor ProcessorsYu-Ching Hu, Yuliang Li, Hung-Wei TsengSIGMOD 2022 · 32 次引用
  3. RayDB: Building Databases with Ray Tracing CoresXuri Shi, Kai Zhang, X. Sean Wang, Xiaodong Zhang 等VLDB 2026 · 3 次引用
  4. Fast Optimal Group Steiner Tree Search using GPUsJiayu Li, Yahui Sun, Bojing Ma, Libang Chen 等SIGMOD 2026 · 1 次引用
  5. Distributed GPU Joins on Fast RDMA-capable NetworksLasse Thostrup, Gloria Doci, Nils Boeschen, Manisha Luthra 等SIGMOD 2023 · 18 次引用
黄昏的海面,两侧是细线勾勒的悬崖