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

skip to main content
10.1145/3377555.3377892acmconferencesArticle/Chapter ViewAbstractPublication PagesccConference Proceedingsconference-collections
research-article

Improving database query performance with automatic fusion

Published: 24 February 2020 Publication History

Abstract

Array-based programming languages have shown significant promise for improving performance of column-based in-memory database systems, allowing elegant representation of query execution plans that are also amenable to standard compiler optimization techniques. Use of loop fusion, however, is not straightforward, due to the complexity of built-in functions for implementing complex database operators. In this work, we apply a compiler approach to optimize SQL query execution plans that are expressed in an array-based intermediate representation. We analyze this code to determine shape properties of the data being processed, and use a subsequent optimization phase to fuse multiple database operators into single, compound operations, reducing the need for separate computation and storage of intermediate values. Experimental results on a range of TPC-H queries show that our fusion technique is effective in generating efficient code, improving query time over a baseline system.

Cited By

View all
  • (2024)Efficient Text Database Generation With Large-Scale Data Retrieval Model2024 International Conference on Expert Clouds and Applications (ICOECA)10.1109/ICOECA62351.2024.00018(24-28)Online publication date: 18-Apr-2024
  • (2023)rNdN: Fast Query Compilation for NVIDIA GPUsACM Transactions on Architecture and Code Optimization10.1145/360350320:3(1-25)Online publication date: 9-Jun-2023
  • (2021)r3d3Proceedings of the 2021 IEEE/ACM International Symposium on Code Generation and Optimization10.1109/CGO51591.2021.9370323(277-288)Online publication date: 27-Feb-2021

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
CC 2020: Proceedings of the 29th International Conference on Compiler Construction
February 2020
222 pages
ISBN:9781450371209
DOI:10.1145/3377555
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: 24 February 2020

Permissions

Request permissions for this article.

Check for updates

Badges

Author Tags

  1. Array programming
  2. Compiler optimizations
  3. IR
  4. Loop fusion
  5. SQL database queries

Qualifiers

  • Research-article

Conference

CC '20
Sponsor:

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)20
  • Downloads (Last 6 weeks)2
Reflects downloads up to 13 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Efficient Text Database Generation With Large-Scale Data Retrieval Model2024 International Conference on Expert Clouds and Applications (ICOECA)10.1109/ICOECA62351.2024.00018(24-28)Online publication date: 18-Apr-2024
  • (2023)rNdN: Fast Query Compilation for NVIDIA GPUsACM Transactions on Architecture and Code Optimization10.1145/360350320:3(1-25)Online publication date: 9-Jun-2023
  • (2021)r3d3Proceedings of the 2021 IEEE/ACM International Symposium on Code Generation and Optimization10.1109/CGO51591.2021.9370323(277-288)Online publication date: 27-Feb-2021

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