mlsanityData to 7 Oct 2026

Fine-Tuning Data Structures for Analytical Query Processing

arXiv 2112.13099 ↗First posted 24 Dec 2021cs.DB cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce a framework for automatically choosing data structures to support efficient computation of analytical workloads. Our contributions are twofold. First, we introduce a novel low-level intermediate language that can express the algorithms behind various query processing paradigms such as classical joins, groupjoin, and in-database machine learning engines. This language is designed around the notion of dictionaries, and allows for a more fine-grained choice of its low-level implementation. Second, the cost model for alternative implementations is automatically inferred by combining machine learning and program reasoning. The dictionary cost model is learned using a regression model trained over the profiling dataset of dictionary operations on a given hardware architecture. The program cost model is inferred using static program analysis. Our experimental results show the effectiveness of the trained cost model on micro benchmarks. Furthermore, we show that the performance of the code generated by our framework either outperforms or is on par with the state-of-the-art analytical query engines and a recent in-database machine learning framework.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 91 references that are in the map. First posted on arXiv 24 Dec 2021.

Builds on

15 of 91 references.

References · 15

  1. 2018A Survey on Compiler Autotuning using Machine Learningcited by 40
  2. 2019Deep Unsupervised Cardinality Estimationcited by 36
  3. 2015FAQ: Questions Asked Frequentlycited by 14
  4. 2016Towards Linear Algebra over Normalized Datacited by 12
  5. 2019A Layered Aggregate Engine for Analytics Workloadscited by 12
  6. 2016HoTTSQL: Proving Query Rewrites with Univalent SQL Semanticscited by 10
  7. 2016Building Efficient Query Engines in a High-Level Languagecited by 6
  8. 2018AC/DC: In-Database Learning Thunderstruckcited by 6
  9. 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
  10. 2020Multi-layer Optimizations for End-to-End Data Analyticscited by 4
  11. 2015Solving the Join Ordering Problem via Mixed Integer Linear Programmingcited by 3
  12. 2016Stream Fusion, to Completenesscited by 3
3 more
  1. 2016Push vs. Pull-Based Loop Fusion in Query Enginescited by 2
  2. 2016Towards Automatic Resource Bound Analysis for OCamlcited by 2
  3. 2019The Case for Deep Query Optimisationcited by 1

Built on by

Not cited yet.