DBScholar

Back to papers

Froid: Optimization of Imperative Programs in a Relational Database

Summary: Automatically rewrites UDFs into relational algebra expressions embedded in SQL, enabling cost-based optimization of imperative code. Froid is extensible, brings compiler-style optimizations to UDFs, and yields set-oriented, parallel plans with orders-of-magnitude speedups. (summarized by gpt-5-nano on Feb 09 2026)

Paper ID
hcbeabb428262f912
Venue
VLDB
Year
2018
Pagerank
0.00013209291
Overall Rank
896 | 93.98%
DOI
10.1145/3164135.3164140

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@article{ramachandra_vldb18,
        title = {{Froid: Optimization of Imperative Programs in a Relational Database}},
        author = {Ramachandra, Karthik and Park, Kwanghyun and Emani, K. Venkatesh and Halverson, Alan and Galindo-Legaria, César and Cunningham, Conor},
        journal = {PVLDB},
        series = {{VLDB} '18},
        volume = {11},
        number = {4},
        pages = {432--444},
        doi = {10.1145/3164135.3164140},
        url = {https://doi.org/10.1145/3164135.3164140},
        year = {2018}
}

Incoming Citations (Sorted by Pagerank)

Showing 47 of 47 citing papers.

Rank Citing Paper Year Venue Pagerank
1,786 Procedural Extensions of SQL: Understanding their usage in the wild 2021 VLDB 9.6326265e-05
2,182 Extending Relational Query Processing with ML Inference 2020 CIDR 8.8982998e-05
2,207 Magpie: Python at Speed and Scale using Cloud Backends 2021 CIDR 8.8487039e-05
2,662 End-to-end Optimization of Machine Learning Prediction Queries 2022 SIGMOD 8.1596229e-05
2,705 Compiling PL/SQL Away 2020 CIDR 8.1111408e-05
3,194 One WITH RECURSIVE is Worth Many GOTOs 2021 SIGMOD 7.5498012e-05
3,683 Cloudy with High Chance of DBMS: A 10-year Prediction for Enterprise-Grade ML 2020 CIDR 7.1006425e-05
4,061 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates 2020 SIGMOD 6.824809e-05
4,256 BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid 2019 VLDB 6.7007882e-05
4,293 A Method for Optimizing Opaque Filter Queries 2020 SIGMOD 6.6819917e-05
5,141 Reactors: A Case for Predictable, Virtualized Actor Database Systems 2018 SIGMOD 6.2573172e-05
5,230 Babelfish: Efficient Execution of Polyglot Queries 2022 VLDB 6.2189001e-05
5,615 BOSS - An Architecture for Database Kernel Composition 2024 VLDB 6.0652416e-05
5,684 iTurboGraph: Scaling and Automating Incremental Graph Analytics 2021 SIGMOD 6.0391416e-05
5,809 Snakes on a Plan: Compiling Python Functions into Plain SQL Queries 2022 SIGMOD 5.987479e-05
5,903 PL/SQL Without the PL 2020 SIGMOD 5.9523418e-05
6,085 Dear User-Defined Functions, Inlining isn't working out so great for us. Let's try batching to make our relationship work. Sincerely, SQL 2024 CIDR 5.892166e-05
6,088 Iterative Query Processing based on Unified Optimization Techniques 2019 SIGMOD 5.8908778e-05
6,190 Fine-Grained Lineage for Safer Notebook Interactions 2021 VLDB 5.8565828e-05
6,212 YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases 2022 VLDB 5.8480745e-05
6,400 Functional-Style SQL UDFs With a Capital 'F' 2020 SIGMOD 5.7981078e-05
6,415 Containerized Execution of UDFs: An Experimental Evaluation 2022 VLDB 5.7926473e-05
6,575 WeBridge: Synthesizing Stored Procedures for Large-Scale Real-World Web Applications 2024 SIGMOD 5.7453775e-05
6,707 Machine Learning, Linear Algebra, and More: Is SQL All You Need? 2022 CIDR 5.7038956e-05
6,742 Mitigating the Impedance Mismatch between Prediction Query Execution and Database Engine 2025 SIGMOD 5.6910432e-05
7,386 Lachesis: Automatic Partitioning for UDF-Centric Analytics 2021 VLDB 5.538189e-05
7,954 Robust Query Processing: Mission Possible 2020 VLDB 5.4190023e-05
7,983 Efficient Execution of User-Defined Functions in SQL Queries 2023 VLDB 5.4131297e-05
8,153 Predicate Pushdown for Data Science Pipelines 2023 SIGMOD 5.3891786e-05
8,345 MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured Predicates 2020 SIGMOD 5.3511996e-05
8,593 Not Black-Box Anymore! Enabling Analytics-Aware Optimizations in Teradata Vantage 2021 VLDB 5.3068556e-05
9,137 Shedding Light on Opaque Application Queries 2021 SIGMOD 5.2222795e-05
9,148 In-depth Analysis of Continuous Subgraph Matching in a Common Delta Query Compilation Framework 2024 SIGMOD 5.2189946e-05
9,218 EPSC: Testing Database Management Systems via Equivalent Prepared Statement Construction 2026 SIGMOD 5.2056825e-05
9,588 The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 2025 VLDB 5.156809e-05
9,637 QURE: AI-Assisted and Automatically Verified UDF Inlining 2025 SIGMOD 5.1462239e-05
9,694 The UDFBench Benchmark for General-purpose UDF Queries 2025 VLDB 5.1396592e-05
10,223 SQL Engines Excel at the Execution of Imperative Programs 2024 VLDB 5.0572221e-05
10,416 Automating Database-Native Function Code Synthesis with LLMs 2026 SIGMOD 4.9793485e-05
10,448 EncoderForge: Generating Efficient SQL for Encoders in Machine Learning Inference Pipelines 2026 SIGMOD 4.9793485e-05
10,723 Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization 2026 VLDB 4.9793485e-05
11,037 Future-Proof Data Systems 2026 VLDB 4.9793485e-05
11,131 Query Decorrelation in the Fabric Data Warehouse 2025 SIGMOD 4.9793485e-05
11,344 Towards Designing Future-Proof Data Processing Systems 2025 VLDB 4.9793485e-05
11,596 Optimizing Video Queries with Declarative Clues 2024 VLDB 4.9793485e-05
11,602 Hardware-Efficient Data Imputation through DBMS Extensibility 2024 VLDB 4.9793485e-05
11,932 Accelerating Complex Analytics using Speculation 2021 CIDR 4.9793485e-05
Previous Page 1 / 1 Next

Outgoing Citations (Sorted by Pagerank)

Showing 8 of 8 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