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.
Author supplied keywords
Cite
CITATION STYLE
Kohn, A., Leis, V., & Neumann, T. (2021). Building Advanced SQL Analytics from Low-Level Plan Operators. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 1001–1013). Association for Computing Machinery. https://doi.org/10.1145/3448016.3457288
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.