Lune

VLDB2024Top-tier venue

RTScan: Efficient Scan with Ray Tracing Cores

Yangming Lv, Kai Zhang, Ziming Wang, Xiaodong Zhang, Rubao Lee, Zhenying He, Yinan Jing, X. Sean Wang

Abstract

Indexing is a core technique for accelerating predicate evaluation in databases. After many years of effort, the indexing performance has reached its peak on the existing hardware infrastructure. We propose to use ray tracing (RT) cores to move the indexing performance and efficiency to another level by addressing the following technical challenges: (1) the lack of an efficient mapping of predicate evaluation to a ray tracing job and (2) the poor performance by the heavy and imbalanced ray load when processing skewed datasets. These challenges set obstacles to effectively exploiting RT cores for predicate evaluation. In this paper, we propose RTScan, an approach that leverages RT cores to accelerate index scans. RTScan transforms the evaluation of conjunctive predicates into an efficient ray tracing job in a three-dimensional space. A set of techniques are designed in RTScan, i.e., Uniform Encoding, Data Sieving, and Matrix RT Refine, which significantly enhances the parallelism of scans on RT cores while lightening and balancing the ray load. With the proposed techniques, RTScan achieves high performance for datasets with either uniform or skewed distributions and queries with different selectivities. Extensive evaluations demonstrate that RTScan enhances the scan performance on RT cores by five orders of magnitude and outperforms the state-of-the-art approach on CPU by up to 4.6×.

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.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LibRTS: A Spatial Indexing Library by Ray Tracing cites RTNN: accelerating neighbor search using hardware ray tracing
  • LibRTS: A Spatial Indexing Library by Ray Tracing cites More Bang for Your Buck(et): Fast and Space-Efficient Hardware-Accelerated Coarse-Granular Indexing on GPUs
  • LibRTS: A Spatial Indexing Library by Ray Tracing cites RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing
  • More Bang for Your Buck(et): Fast and Space-Efficient Hardware-Accelerated Coarse-Granular Indexing on GPUs cites RTNN: accelerating neighbor search using hardware ray tracing
  • More Bang for Your Buck(et): Fast and Space-Efficient Hardware-Accelerated Coarse-Granular Indexing on GPUs cites RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing
  • Bridging the Indexing Gap in Fused GPU Query Engines cites RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing
  • RayDB: Building Databases with Ray Tracing Cores cites RTNN: accelerating neighbor search using hardware ray tracing
  • RayDB: Building Databases with Ray Tracing Cores cites RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing
  • RayDB: Building Databases with Ray Tracing Cores cites BinDex: A Two-Layered Index for Fast and Robust Scans
  • RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database Indexing cites RTNN: accelerating neighbor search using hardware ray tracing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. LibRTS: A Spatial Indexing Library by Ray TracingLiang Geng, Rubao Lee, Xiaodong ZhangPPoPP 2025 · 11 citations
  2. 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
  3. RayDB: Building Databases with Ray Tracing CoresXuri Shi, Kai Zhang, X. Sean Wang, Xiaodong Zhang et al.VLDB 2026 · 3 citations
  4. FaScalSQL: A Fast and Scalable GPU-Accelerated SQL Query Engine for Out-of-Memory TablesChaemin Lim, Suhyun Lee, Jinwoo Choi, Kwanghyun Park et al.ICDE 2026
  5. Bridging the Indexing Gap in Fused GPU Query EnginesTianjun Bu, Gaoyuan Zhou, Xuhui Li, Qiusong YangVLDB 2026

Builds on3

  1. RTNN: accelerating neighbor search using hardware ray tracingYuhao ZhuPPoPP 2022 · 43 citations
  2. RTIndeX: Exploiting Hardware-Accelerated GPU Raytracing for Database IndexingJustus Henneberg, Felix SchuhknechtVLDB 2023 · 25 citations
  3. BinDex: A Two-Layered Index for Fast and Robust ScansLinwei Li, Kai Zhang, Jiading Guo, Wen He et al.SIGMOD 2020 · 8 citations

Related papers

  1. GraphRTX: Lighting the Way to Scalable Graph AnalyticsAlexander Baumstark, Kai-Uwe SattlerSIGMOD 2026
  2. TTP: A Hardware-Efficient Design for Precise Prefetching in Ray TracingYavuz Selim Tozlu, Anshul Naithani, Huiyang ZhouISCA 2026
  3. Generalizing Ray Tracing Accelerators for Tree Traversals on GPUsDongho Ha, Lufei Liu, Yuan-Hsi Chou, Seokjin Go et al.MICRO 2024 · 16 citations
  4. Extending GPU Ray-Tracing Units for Hierarchical Search AccelerationAaron Barnes, Fangjia Shen, Timothy G. RogersMICRO 2024 · 10 citations
  5. RT-RkNN: Reverse k Nearest Neighbor Queries as a Graphics Ray Casting ProblemZhengyang Bai, Peng Chen, Mohamed WahibVLDB 2026
Dusk over the sea between two cliffs drawn in fine vertical lines