Proceedings of the VLDB Endowment · 2023 · 16 citations · 11 references
ComputingComputer ScienceComputer SystemsData ManagementDatabasesMachine LearningDatabase ManagementOptimization For Machine LearningQuery OptimizationQuery ProcessingRelational AlgebraStructured Query LanguagePhysical Query OptimizationQuery Performance OptimizationRelational Query ProcessingState-of-the-art ReviewUser-defined Functions
User-defined functions (UDFs) have been widely used to overcome the expressivity limitations of SQL and complement its declarative nature with functional capabilities. UDFs are particularly useful in today's applications that involve complex data analytics and machine learning algorithms and logic. However, UDFs pose significant performance challenges in query processing and optimization, largely due to the mismatch of the UDF execution and SQL processing environments. In this tutorial, we present state-of-the-art methods and systems towards efficient execution of UDFs in SQL queries. We focus on low-level techniques for physical optimization and compilation of UDF queries, describe and compare the core, recent approaches in the area, discuss their advantages and limitations, identify critical gaps in theory and practice, and propose promising future research directions.
11
An architecture for compiling UDF-centric workflows
Andrew Crotty, Alex Galakatos, Kayhan Dursun et al. · Proceedings of the VLDB Endowment · 2015 · 82 citations
Peeking into the optimization of data flow programs with MapReduce-style UDFs
Fabian Hueske, Mathias Peters, Aljoscha Krettek et al. · 2013 · 32 citations
Leonhard F. Spiegelberg, Rahul Yesantharao, Malte Schwarzkopf et al. · 2021 · 32 citations · Full text