RayDB: Building Databases with Ray Tracing Cores
Xuri Shi, Kai Zhang, X. Sean Wang, Xiaodong Zhang, Rubao Lee
Abstract
Ray tracing (RT) cores are a new type of hardware that have been actively integrated into modern GPUs. Recent studies have demonstrated that RT cores can deliver much higher performance than GPU CUDA cores and CPUs for general-purpose data processing tasks like table scan. In this paper, we propose RayDB, the first query engine that leverages RT cores to accelerate database query processing. RayDB transforms the core part of the query execution that involves multiple operators into one single ray tracing job. With a set of proposed encoding and ray launching techniques, RayDB effectively exploits RT cores to accelerate diverse workloads. Experimental results show that RayDB outperforms the state-of-the-art GPU-based query engine by up to 18.3×.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RT-RkNN: Reverse k Nearest Neighbor Queries as a Graphics Ray Casting Problem cites RTNN: accelerating neighbor search using hardware ray tracing
- RT-RkNN: Reverse k Nearest Neighbor Queries as a Graphics Ray Casting Problem cites RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing
- TCUDB: Accelerating Database with Tensor Processors cites A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
- Query Processing on Tensor Computation Runtimes cites A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database Analytics
- Query Processing on Tensor Computation Runtimes cites TCUDB: Accelerating Database with Tensor Processors
- RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing cites RTNN: accelerating neighbor search using hardware ray tracing
Cited by top-tier papers1
Builds on7
- A Study of the Fundamental Performance Characteristics of GPUs and CPUs for Database AnalyticsAnil Shanbhag, Samuel Madden, Xiangyao YuSIGMOD 2020 · 112 citations
- Query Processing on Tensor Computation RuntimesDong He, Supun Chathuranga Nakandala, Dalitso Banda, Rathijit Sen et al.VLDB 2022 · 54 citations
- RTNN: accelerating neighbor search using hardware ray tracingYuhao ZhuPPoPP 2022 · 43 citations
- TCUDB: Accelerating Database with Tensor ProcessorsYu-Ching Hu, Yuliang Li, Hung-Wei TsengSIGMOD 2022 · 32 citations
- RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database IndexingJustus Henneberg, Felix SchuhknechtVLDB 2023 · 25 citations
Related papers
- RTScan: Efficient Scan with Ray Tracing CoresYangming Lv, Kai Zhang, Ziming Wang, Xiaodong Zhang et al.VLDB 2024 · 13 citations
- LibRTS: A Spatial Indexing Library by Ray TracingLiang Geng, Rubao Lee, Xiaodong ZhangPPoPP 2025 · 11 citations
- GraphRTX: Lighting the Way to Scalable Graph AnalyticsAlexander Baumstark, Kai-Uwe SattlerSIGMOD 2026
- A Case for Graphics-driven Query ProcessingHarish Doraiswamy, Vikas Kalagi, Karthik Ramachandra, Jayant R. HaritsaVLDB 2023 · 4 citations
- More Bang for Your Buck(et): Fast and Space-Efficient Hardware-Accelerated Coarse-Granular Indexing on GPUsJustus Henneberg, Felix Martin Schuhknecht, Rosina Kharal, Trevor BrownICDE 2025 · 3 citations
