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,884 | SQL Engines Excel at the Execution of Imperative Programs | 2024 | VLDB | 4.2635782e-05 |
| 5,476 | Containerized Execution of UDFs: An Experimental Evaluation | 2022 | VLDB | 5.4866534e-05 |
| 6,645 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD | 4.978205e-05 |
| 10,459 | UDFBench: A Tool for Benchmarking UDF Queries on SQL Engines | 2025 | SIGMOD | 4.1945683e-05 |
| 6,189 | Accelerating Python UDFs in Vectorized Query Execution | 2022 | CIDR | 5.1647573e-05 |
| 1,456 | Rewriting Procedures for Batched Bindings | 2008 | VLDB | 0.00011899772 |
| 4,582 | BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid | 2019 | VLDB | 6.070187e-05 |
| 9,763 | The UDFBench Benchmark for General-purpose UDF Queries | 2025 | VLDB | 4.2856106e-05 |
| 8,583 | Efficient Execution of User-Defined Functions in SQL Queries | 2023 | VLDB | 4.4919445e-05 |
| 9,343 | The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining | 2025 | VLDB | 4.3546206e-05 |