Efficient Execution of User-Defined Functions in SQL Queries

被引:4
|
作者
Foufoulas, Yannis [1 ]
Simitsis, Alkis [2 ]
机构
[1] Univ Athens, Athena RC, Athena, Greece
[2] Athena Res Ctr, Athens, Greece
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2023年 / 16卷 / 12期
关键词
D O I
10.14778/3611540.3611574
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:3874 / 3877
页数:4
相关论文
共 50 条
  • [1] Consolidation of Queries with User-Defined Functions
    Sousa, Marcelo
    Dillig, Isil
    Vytiniotis, Dimitrios
    Dillig, Thomas
    Gkantsidis, Christos
    ACM SIGPLAN NOTICES, 2014, 49 (06) : 554 - 564
  • [2] User-Defined Financial Functions for MS SQL Server
    Gubalova, Jolana
    Medvedova, Petra
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2018, 9 (09) : 19 - 25
  • [3] Sharing Queries with Nonequivalent User-defined Aggregate Functions
    Zhang, Chao
    Farouk, Toumani
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2024, 49 (02):
  • [4] Optimization of queries with user-defined predicates
    Chaudhuri, S
    Shim, K
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1999, 24 (02): : 177 - 228
  • [5] Optimization of queries with user-defined predicates
    Chaudhuri, S
    Shim, K
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, 1996, : 87 - 98
  • [6] A User-Defined Index for Containment Queries in XML
    Na, Gap-Joo
    Lee, Sang-Won
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2009, PT II, 2009, 5593 : 453 - 464
  • [7] Authenticating Multiple User-Defined Spatial Queries
    Wang, Yong
    Gao, Shimeng
    Zhang, Junhao
    Nie, Xiao
    Duan, Xiaoran
    Chen, Juguang
    PROCEEDINGS 2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS, VOL 1, 2016, : 471 - 480
  • [8] Processing XML view queries including user-defined foreign functions on relational databases
    Ishikawa, Y
    Kawada, J
    Kitagawa, H
    WISE 2002: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS ENGINEERING, 2002, : 225 - 236
  • [9] Mastering user-defined conversion functions
    Meyers, Scott
    C/C++ Users Journal, 1995, 13 (08):
  • [10] Parallelizing User-Defined Aggregations using Symbolic Execution
    Raychev, Veselin
    Musuvathi, Madanlal
    Mytkowicz, Todd
    SOSP'15: PROCEEDINGS OF THE TWENTY-FIFTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, 2015, : 153 - 167