Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1007568.1007594acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Fast computation of database operations using graphics processors

Published: 13 June 2004 Publication History

Abstract

We present new algorithms for performing fast computation of several common database operations on commodity graphics processors. Specifically, we consider operations such as conjunctive selections, aggregations, and semi-linear queries, which are essential computational components of typical database, data warehousing, and data mining applications. While graphics processing units (GPUs) have been designed for fast display of geometric primitives, we utilize the inherent pipelining and parallelism, single instruction and multiple data (SIMD) capabilities, and vector processing functionality of GPUs, for evaluating boolean predicate combinations and semi-linear queries on attributes and executing database operations efficiently. Our algorithms take into account some of the limitations of the programming model of current GPUs and perform no data rearrangements. Our algorithms have been implemented on a programmable GPU (e.g. NVIDIA's GeForce FX 5900) and applied to databases consisting of up to a million records. We have compared their performance with an optimized implementation of CPU-based algorithms. Our experiments indicate that the graphics processor available on commodity computer systems is an effective co-processor for performing database operations.

References

[1]
Pankaj Agarwal, Shankar Krishnan, Nabil Mustafa, and Suresh Venkatasubramanian. Streaming geometric optimization using graphics hardware. In 11th European Symposium on Algorithms, 2003.
[2]
A. Ailamaki, D. J. DeWitt, M. D. Hill, and M. Skounakis. Weaving relations for cache performance. In Proceedings of the Twenty-seventh International Conference on Very Large Data Bases 2001, pages 169--180, 2001.
[3]
A. Ailamaki, D. J. DeWitt, M. D. Hill, and D. A. Wood. DBMSs on a modern processor: Where does time go? In Proc. of VLDB, pages 266--277, 1999.
[4]
J. Bolz, I. Farmer, E. Grinspun, and P. Schröder. Sparse matrix solvers on the gpu: Conjugate gradients and multigrid. ACM Trans. on Graphics (Proc. of ACM SIGGRAPH), 22(3), 2003.
[5]
Peter A. Boncz, Stefan Manegold, and Martin L. Kersten. Database architecture optimized for the new bottleneck: Memory access. In Proc. of VLDB, pages 54--65, 1999.
[6]
Census bureau databases. http://www.bls.census.gov/cps/.
[7]
Zhiyuan Chen, Nick Koudas, Flip Korn, and S. Muthukrishnan. Selectively estimation for boolean queries. In Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, pages 216--225, 2000.
[8]
Ext_depth_bounds_test specification. http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt.
[9]
Michael Doggett. Programmability features of graphics hardware. ACM SIGGRAPH Course Notes # 11, 2003.
[10]
Lise Getoor, Benjamin Taskar, and Daphne Koller. Selectivity estimation using probabilistic models. In Timos Sellis and Sharad Mehrotra, editors, Proceedings of the 2001 ACM SIGMOD International Conference on Management of Data 2001, Santa Barbara, California, United States, May 21--24, 2001, pages 461--472, 2001. ACM order number 472010.
[11]
N. Goodnight, C. Woolley, G. Lewin, D. Luebke, and G. Humphreys. A multigrid solver for boundary value problems using programmable graphics hardware. ACM SIGGRAPH/Eurographics Conference on Graphics Hardware, 2003.
[12]
N. Govindaraju, B. Lloyd, S. Yoon, A. Sud, and D. Manocha. Interactive shadow generation in complex environments. Proc. of ACM SIGGRAPH/ACM Trans. on Graphics, 22(3):501--510, 2003.
[13]
M. Harris, G. Coombe, G. Scheuermann, and A. Lastra. Physically-based visual simulation on graphics hardware. SIGGRAPH/Eurographics Workshop on Graphics Hardware, 2002.
[14]
C. A. R. Hoare. Algorithm 65: find. Commun. ACM, 4(7):321--322, 1961.
[15]
K. Hoff, T. Culver, J. Keyser, M. Lin, and D. Manocha. Fast computation of generalized voronoi diagrams using graphics hardw are. Proceedings of ACM SIGGRAPH, pages 277--286, 1999.
[16]
S. Krishnan, N. H. Mustafa, and S. Venkatasubramanian. Hardware-assisted computation of depth contours. In 13th ACM-SIAM Symposium on Discrete Algorithms, 2002.
[17]
J. Kruger and R. Westermann. Linear algebra operators for gpu implementation of numerical algorithms. ACM Trans. on Graphics (Proc. of ACM SIGGRAPH), 22(3), 2003.
[18]
E. S. Larsen and D. K. McAllister. Fast matrix multiplies using graphics hardware. Proc. of IEEE Supercomputing, 2001.
[19]
M. Macedonia. The gpu enters computing's mainstream. Computer, October 2003.
[20]
S. Manegold, P. Boncz, and M L. Kersten. What happens during a join? Dissecting CPU and memory optimization effects. In VLDB 2000, Proceedings of 26th International Conference on Very Large Data Bases, September 10--14, 2000, Cairo, Egypt, pages 339--350, 2000.
[21]
Stefan Manegold, Peter A. Boncz, and Martin L. Kersten. Generic database cost models for hierarchical memory systems. In Proceedings of the Twenty-eighth International Conference on Very Large Data Bases 2002, pages 191--202, 2002.
[22]
D. Manocha. Interactive Geometric and Scientific Computations using Graphics Hardware. SIGGRAPH Course Notes # 11, 2003.
[23]
William R. Mark, R. Steven Glanville, Kurt Akeley, and mark J. Kilgard. Cg: A system for programming graphics hardware in a c-like language. In Proc. of ACM SIGGRAPH, 2003. http://developer.nvidia.com/page/cg_main.html.
[24]
Shintaro Meki and Yahiko Kambayashi. Acceleration of relational database operations on vector processors. Systems and Computers in Japan, 31(8):79--88, August 2000.
[25]
http://lava.cs.virgina.edu/bpred.html.
[26]
Nvidia geforce fx gpus: Intellisample technology. http://www.nvidia.com/object/intellisample_tb.html.
[27]
Nv_occlusion_query specification. http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_occlusion_query.txt.
[28]
Niki Pissinou. Towards and infrastructure for temporal databases---A workship report. SIGMOD Record (ACM Special Interest Group on Management of Data), 23(1):35--51, March 1994.
[29]
T. Purcell, I. Buck, W. Mark, and P. Hanrahan. Ray tracing on programmable graphics hardware. ACM Trans. on Graphics (Proc. of SIGGRAPH'02), 21(3):703--712, 2002.
[30]
T. Purcell, C. Donner, M. Cammarano, H. Jensen, and P. Hanrahan. Photon mapping on programmable graphics hardware. ACM SIGGRAPH/Eurographics Conference on Graphics Hardware, pages 41--50, 2003.
[31]
Jun Rao and Kenneth A. Ross. Cache conscious indexing for decision-support in main memory. In Proc. of VLDB, pages 78--89, 1999.
[32]
Kenneth A. Ross. Conjunctive selection conditions in main memory. In ACM, editor, Proceedings of the Twenty-First ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems: PODS 2002, pages 109--120, 2002. ACM order number 475021.
[33]
J. Rossignac, A. Megahed, and B. D. Schneider. Interactive inspection of solids: cross-sections and interferences. In Proceedings of ACM Siggraph, pages 353--60, 1992.
[34]
Ambuj Shatdal, Chander Kant, and Jeffrey F. Naughton. Cache conscious algorithms for relational query processing. In 20th International Conference on Very Large Data Bases, 1994, pages 510--521, 1994.
[35]
Chengyu Sun, Divyakant Agrawal, and Amr El Abbadi. Hardware acceleration for spatial selections and joins. In ACM, editor, Proceedings of the 2003 ACM SIGMOD International Conference on Management of Data, pages 455--466, 2003.
[36]
C. J. Thompson, S. Hahn, and M. Oskin. Using modern graphics architectures for general-purpose computing: A framework and analysis. Proc. of IEEE/ACM International Symposium on Microarchitectures, pages 306--317, 2002.
[37]
Jingren Zhou and Kenneth A. Ross. Implementing database operations using simd instructions. In Proceedings of the 2002 ACM SIGMOD international conference on Management of data, pages 145--156. ACM Press, 2002.

Cited By

View all
  • (2023)A Case for Graphics-Driven Query ProcessingProceedings of the VLDB Endowment10.14778/3603581.360359016:10(2499-2511)Online publication date: 1-Jun-2023
  • (2023)ADAMANT: A Query Executor with Plug-In Interfaces for Easy Co-processor Integration2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00093(1153-1166)Online publication date: Apr-2023
  • (2023)GPU-accelerated PostgreSQL for Scalable Management and Processing of Irregular Time-Series Data using SPI2023 IEEE International Conference on Big Data (BigData)10.1109/BigData59044.2023.10386390(2541-2549)Online publication date: 15-Dec-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '04: Proceedings of the 2004 ACM SIGMOD international conference on Management of data
June 2004
988 pages
ISBN:1581138598
DOI:10.1145/1007568
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 June 2004

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. aggregation
  2. graphics processor
  3. query optimization
  4. selection query
  5. selectivity analysis
  6. semi-linear query

Qualifiers

  • Article

Conference

SIGMOD/PODS04
Sponsor:

Acceptance Rates

Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2023)A Case for Graphics-Driven Query ProcessingProceedings of the VLDB Endowment10.14778/3603581.360359016:10(2499-2511)Online publication date: 1-Jun-2023
  • (2023)ADAMANT: A Query Executor with Plug-In Interfaces for Easy Co-processor Integration2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00093(1153-1166)Online publication date: Apr-2023
  • (2023)GPU-accelerated PostgreSQL for Scalable Management and Processing of Irregular Time-Series Data using SPI2023 IEEE International Conference on Big Data (BigData)10.1109/BigData59044.2023.10386390(2541-2549)Online publication date: 15-Dec-2023
  • (2023)Novel insights on atomic synchronization for sort-based group-by on GPUsDistributed and Parallel Databases10.1007/s10619-023-07424-241:3(387-409)Online publication date: 24-Apr-2023
  • (2022)Use of Graphics Processors in Data Compression AlgorithmsIndonesian Journal of Innovation Studies10.21070/ijins.v18i.58818Online publication date: 12-Apr-2022
  • (2022)Query Processing on Heterogeneous CPU/GPU SystemsACM Computing Surveys10.1145/348512655:1(1-38)Online publication date: 17-Jan-2022
  • (2022)G-PICS: A Framework for GPU-Based Spatial Indexing and Query ProcessingIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2020.299244034:3(1243-1257)Online publication date: 1-Mar-2022
  • (2022)Scaling SQL to the Supercomputer for Interactive Analysis of Simulation DataDriving Scientific and Engineering Discoveries Through the Integration of Experiment, Big Data, and Modeling and Simulation10.1007/978-3-030-96498-6_19(327-339)Online publication date: 10-Mar-2022
  • (2021)An Investigation of Atomic Synchronization for Sort-Based Group-By Aggregation on GPUs2021 IEEE 37th International Conference on Data Engineering Workshops (ICDEW)10.1109/ICDEW53142.2021.00016(48-53)Online publication date: Apr-2021
  • (2020)Cheetah: Accelerating Database Queries with Switch PruningProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3389698(2407-2422)Online publication date: 11-Jun-2020
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media