Dear User-Defined Functions, Inlining isn't working out so great for us. Let's try batching to make our relationship work. Sincerely, SQL
Summary: Empirical comparison of UDF inlining vs batching on enterprise and open-source DBMSs using a UDF-centric workload; inlining helps simple UDFs but batching outperforms by up to 93.4× on complex UDFs since it makes optimizer decorrelation easier. Propose a hybrid strategy to pick batching or inlining per UDF to maximize performance. (summarized by gpt-5-mini on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Kai Franz
- 2. Samuel Arch
- 3. Denis Hirn
- 4. Torsten Grust
- 5. Todd C. Mowry
- 6. Andrew Pavlo
Incoming Citations (Sorted by Pagerank)
Showing 9 of 9 citing papers.
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 12 of 12 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
Previous
Page 1 / 1
Next
Semantically Similar Papers
| Overall Rank | Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 9,883 | SQL Engines Excel at the Execution of Imperative Programs | 2024 | VLDB | 4.2594931e-05 |
| 5,486 | Containerized Execution of UDFs: An Experimental Evaluation | 2022 | VLDB | 5.481452e-05 |
| 6,646 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD | 4.9734285e-05 |
| 10,469 | UDFBench: A Tool for Benchmarking UDF Queries on SQL Engines | 2025 | SIGMOD | 4.1905499e-05 |
| 6,191 | Accelerating Python UDFs in Vectorized Query Execution | 2022 | CIDR | 5.1598046e-05 |
| 1,457 | Rewriting Procedures for Batched Bindings | 2008 | VLDB | 0.00011891025 |
| 4,571 | BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid | 2019 | VLDB | 6.0693276e-05 |
| 9,765 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB | 4.2815042e-05 |
| 8,580 | Efficient Execution of User-Defined Functions in SQL Queries | 2023 | VLDB | 4.4876382e-05 |
| 9,348 | The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining | 2025 | VLDB | 4.3504473e-05 |