{"title":"Accelerating SQL database operations on a GPU with CUDA","authors":"P. Bakkum, K. Skadron","doi":"10.1145/1735688.1735706","DOIUrl":null,"url":null,"abstract":"Prior work has shown dramatic acceleration for various database operations on GPUs, but only using primitives that are not part of conventional database languages such as SQL. This paper implements a subset of the SQLite command processor directly on the GPU. This dramatically reduces the effort required to achieve GPU acceleration by avoiding the need for database programmers to use new programming languages such as CUDA or modify their programs to use non-SQL libraries.\n This paper focuses on accelerating SELECT queries and describes the considerations in an efficient GPU implementation of the SQLite command processor. Results on an NVIDIA Tesla C1060 achieve speedups of 20-70X depending on the size of the result set.","PeriodicalId":381071,"journal":{"name":"GPGPU-3","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"284","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GPGPU-3","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1735688.1735706","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 284
Abstract
Prior work has shown dramatic acceleration for various database operations on GPUs, but only using primitives that are not part of conventional database languages such as SQL. This paper implements a subset of the SQLite command processor directly on the GPU. This dramatically reduces the effort required to achieve GPU acceleration by avoiding the need for database programmers to use new programming languages such as CUDA or modify their programs to use non-SQL libraries.
This paper focuses on accelerating SELECT queries and describes the considerations in an efficient GPU implementation of the SQLite command processor. Results on an NVIDIA Tesla C1060 achieve speedups of 20-70X depending on the size of the result set.
先前的工作已经显示了gpu上各种数据库操作的显著加速,但仅使用非传统数据库语言(如SQL)一部分的原语。本文直接在GPU上实现了SQLite命令处理器的一个子集。这大大减少了实现GPU加速所需的工作量,避免了数据库程序员使用新的编程语言(如CUDA)或修改程序以使用非sql库的需要。本文着重于加速SELECT查询,并描述了SQLite命令处理器在高效GPU实现中的注意事项。根据结果集的大小,NVIDIA Tesla C1060上的结果可以实现20-70倍的加速。