Lune

SIGMOD2021Top-tier venue

Building Advanced SQL Analytics From Low-Level Plan Operators

André Kohn, Viktor Leis, Thomas Neumann

Abstract

Analytical queries virtually always involve aggregation and statistics. SQL offers a wide range of functionalities to summarize data such as associative aggregates, distinct aggregates, ordered-set aggregates, grouping sets, and window functions. In this work, we propose a unified framework for advanced statistics that composes all flavors of complex SQL aggregates from low-level plan operators. These operators can reuse materialized intermediate results, which decouples monolithic aggregation logic and speeds up complex multi-expression queries. The contribution is therefore twofold: our framework modularizes aggregate implementations, and outperforms traditional systems whenever multiple aggregates are combined. We integrated our approach into the high-performance database system Umbra and experimentally show that we compute complex aggregates faster than the state-of-the-art HyPer system.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Modularis: Modular Relational Analytics over Heterogeneous Distributed Platforms cites Database Technology for the Masses: Sub-Operators as First-Class Entities
  • Declarative Sub-Operators for Universal Data Processing cites Modularis: Modular Relational Analytics over Heterogeneous Distributed Platforms
  • Declarative Sub-Operators for Universal Data Processing cites Database Technology for the Masses: Sub-Operators as First-Class Entities
  • Declarative Sub-Operators for Universal Data Processing cites Designing an Open Framework for Query Optimization and Compilation
  • Database Technology for the Masses: Sub-Operators as First-Class Entities cites To Partition, or Not to Partition, That is the Join Question in a Real System
  • Database Technology for the Masses: Sub-Operators as First-Class Entities cites A Practical Approach to Groupjoin and Nested Aggregates
  • A Practical Approach to Groupjoin and Nested Aggregates cites To Partition, or Not to Partition, That is the Join Question in a Real System
  • Designing an Open Framework for Query Optimization and Compilation cites Database Technology for the Masses: Sub-Operators as First-Class Entities
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Designing an Open Framework for Query Optimization and CompilationMichael Jungmair, André Kohn, Jana GicevaVLDB 2022 · 45 citations
  2. Database Technology for the Masses: Sub-Operators as First-Class EntitiesMaximilian Bandle, Jana GicevaVLDB 2021 · 19 citations
  3. Declarative Sub-Operators for Universal Data ProcessingMichael Jungmair, Jana GicevaVLDB 2023 · 17 citations
  4. A Practical Approach to Groupjoin and Nested AggregatesPhilipp Fent, Thomas NeumannVLDB 2021 · 11 citations
  5. Modularis: Modular Relational Analytics over Heterogeneous Distributed PlatformsDimitrios Koutsoukos, Ingo Müller, Renato Marroquín, Ana Klimovic et al.VLDB 2021 · 8 citations

Builds on2

  1. Adopting Worst-Case Optimal Joins in Relational Database SystemsMichael J. Freitag, Maximilian Bandle, Tobias Schmidt, Alfons Kemper et al.VLDB 2020 · 79 citations
  2. To Partition, or Not to Partition, That is the Join Question in a Real SystemMaximilian Bandle, Jana Giceva, Thomas NeumannSIGMOD 2021 · 43 citations

Related papers

  1. Efficient Evaluation of Arbitrarily-Framed Holistic SQL Aggregates and Window FunctionsAdrian Vogelsgesang, Thomas Neumann, Viktor Leis, Alfons KemperSIGMOD 2022
  2. Incremental Fusion: Unifying Compiled and Vectorized Query ExecutionBenjamin Wagner, André Kohn, Peter Boncz, Viktor LeisICDE 2024 · 3 citations
  3. A Compiler for Fused Relational Operations on MultisetsJames Dong, Fredrik KjolstadPLDI 2026
  4. Window Function Optimization: Co-Evaluation and Other TechniquesDaniel Lindner, Felix Naumann, Alberto LernerVLDB 2026
  5. A Scalable and Generic Approach to Range JoinsMaximilian Reif, Thomas NeumannVLDB 2022 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines