Speeding up spatial database query execution using GPUs

被引:13
作者
Simion, Bogdan [1 ]
Ray, Suprio [1 ]
Brown, Angela Demke [1 ]
机构
[1] Univ Toronto, Dept Comp Sci, Toronto, ON M5S 1A1, Canada
来源
PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012 | 2012年 / 9卷
关键词
Spatial databases; Parallel query execution; GPU processing;
D O I
10.1016/j.procs.2012.04.205
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Spatial databases are used in a wide variety of real-world applications, such as land surveying, urban planning, and environmental assessments, as well as geospatial Web services. As uses of spatial databases become more widespread, there is a growing need for good performance of spatial applications. In spatial workloads, queries tend to be computationally-intensive due to the complex processing of geometric relationships. Furthermore, a significant fraction of spatial query execution time is spent on CPU stalls due to memory accesses, caused by the ever-increasing processor-memory speed gap. With the advent of massively-parallel graphics-processing hardware (GPUs) and frameworks like CUDA, opportunities for speeding up spatial processing have emerged. In addition to massive parallelism, GPUs can also better hide the memory latency. We aim to speed up spatial query execution using CUDA and recent GPU cards. One of the main challenges in using GPUs is the transfer time from main memory to GPU memory. We implement a set of six typical spatial queries and achieve a baseline speedup (without the transfer cost) of 62-318x over the CPU counterparts. We show that the transfer cost can be amortized over the execution of each individual query. For simpler spatial queries, the transfer time is a significant fraction of the query execution time, but we still achieve a 6-10x speedup. For more complex spatial queries, the transfer time becomes negligible compared to the processing time, and we obtain a 62-240x speedup.
引用
收藏
页码:1870 / 1879
页数:10
相关论文
共 12 条
[1]  
Ailamaki A, 1999, PROCEEDINGS OF THE TWENTY-FIFTH INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P266
[2]  
[Anonymous], 2006, P 2006 ACM SIGMOD IN
[3]  
Bakkum P., 2010, Proceedings of the 3rd Workshop on General-Purpose Computation on Graphics Processing Units - GPGPU '10 (New York, New York, USA, 2010), P94, DOI DOI 10.1145/1735688.1735706
[4]  
Bandi Nagender., 2004, PROC 30 INT C VERY L, P1021, DOI DOI 10.1016/B978-012088469-8.50089-9
[5]  
Colak E., 2002, THESIS AIRFORCE I TE
[6]   Database Compression on Graphics Processors [J].
Fang, Wenbing ;
He, Bingsheng ;
Luo, Qiong .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (01) :670-680
[7]  
Govindaraju NagaK., 2004, PROC ACM SIGMOD, P215
[8]  
He B., 2008, SIGMOD, DOI DOI 10.1145/1376616.1376670
[9]   Relational Query Coprocessing on Graphics Processors [J].
He, Bingsheng ;
Lu, Mian ;
Yang, Ke ;
Fang, Rui ;
Govindaraju, Naga K. ;
Luo, Qiong ;
Sander, Pedro V. .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 2009, 34 (04)
[10]   A survey of general-purpose computation on graphics hardware [J].
Owens, John D. ;
Luebke, David ;
Govindaraju, Naga ;
Harris, Mark ;
Krueger, Jens ;
Lefohn, Aaron E. ;
Purcell, Timothy J. .
COMPUTER GRAPHICS FORUM, 2007, 26 (01) :80-113