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.00013203085
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.6281276e-05
2,184 Extending Relational Query Processing with ML Inference 2020 CIDR 8.8953085e-05
2,208 Magpie: Python at Speed and Scale using Cloud Backends 2021 CIDR 8.8445332e-05
2,661 End-to-end Optimization of Machine Learning Prediction Queries 2022 SIGMOD 8.1568473e-05
2,707 Compiling PL/SQL Away 2020 CIDR 8.1073034e-05
3,195 One WITH RECURSIVE is Worth Many GOTOs 2021 SIGMOD 7.546228e-05
3,685 Cloudy with High Chance of DBMS: A 10-year Prediction for Enterprise-Grade ML 2020 CIDR 7.0972826e-05
4,062 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates 2020 SIGMOD 6.8215782e-05
4,257 BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid 2019 VLDB 6.6976163e-05
4,292 A Method for Optimizing Opaque Filter Queries 2020 SIGMOD 6.6792739e-05
5,143 Reactors: A Case for Predictable, Virtualized Actor Database Systems 2018 SIGMOD 6.2543554e-05
5,234 Babelfish: Efficient Execution of Polyglot Queries 2022 VLDB 6.2159562e-05
5,616 BOSS - An Architecture for Database Kernel Composition 2024 VLDB 6.0623704e-05
5,684 iTurboGraph: Scaling and Automating Incremental Graph Analytics 2021 SIGMOD 6.0362827e-05
5,811 Snakes on a Plan: Compiling Python Functions into Plain SQL Queries 2022 SIGMOD 5.9846446e-05
5,906 PL/SQL Without the PL 2020 SIGMOD 5.9495255e-05
6,086 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.8893767e-05
6,090 Iterative Query Processing based on Unified Optimization Techniques 2019 SIGMOD 5.8880907e-05
6,193 Fine-Grained Lineage for Safer Notebook Interactions 2021 VLDB 5.8538103e-05
6,215 YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases 2022 VLDB 5.8453061e-05
6,402 Functional-Style SQL UDFs With a Capital 'F' 2020 SIGMOD 5.7953646e-05
6,418 Containerized Execution of UDFs: An Experimental Evaluation 2022 VLDB 5.7899052e-05
6,578 WeBridge: Synthesizing Stored Procedures for Large-Scale Real-World Web Applications 2024 SIGMOD 5.7426577e-05
6,711 Machine Learning, Linear Algebra, and More: Is SQL All You Need? 2022 CIDR 5.7011955e-05
6,747 Mitigating the Impedance Mismatch between Prediction Query Execution and Database Engine 2025 SIGMOD 5.6883491e-05
7,388 Lachesis: Automatic Partitioning for UDF-Centric Analytics 2021 VLDB 5.5355684e-05
7,958 Robust Query Processing: Mission Possible 2020 VLDB 5.4164639e-05
7,988 Efficient Execution of User-Defined Functions in SQL Queries 2023 VLDB 5.4105672e-05
8,159 Predicate Pushdown for Data Science Pipelines 2023 SIGMOD 5.3866275e-05
8,348 MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured Predicates 2020 SIGMOD 5.3486679e-05
8,600 Not Black-Box Anymore! Enabling Analytics-Aware Optimizations in Teradata Vantage 2021 VLDB 5.3043615e-05
9,143 Shedding Light on Opaque Application Queries 2021 SIGMOD 5.2203125e-05
9,157 In-depth Analysis of Continuous Subgraph Matching in a Common Delta Query Compilation Framework 2024 SIGMOD 5.216524e-05
9,228 EPSC: Testing Database Management Systems via Equivalent Prepared Statement Construction 2026 SIGMOD 5.2032182e-05
9,596 The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 2025 VLDB 5.1543679e-05
9,645 QURE: AI-Assisted and Automatically Verified UDF Inlining 2025 SIGMOD 5.1437878e-05
9,700 The UDFBench Benchmark for General-purpose UDF Queries 2025 VLDB 5.1372261e-05
10,229 SQL Engines Excel at the Execution of Imperative Programs 2024 VLDB 5.054828e-05
10,428 Automating Database-Native Function Code Synthesis with LLMs 2026 SIGMOD 4.9769913e-05
10,459 EncoderForge: Generating Efficient SQL for Encoders in Machine Learning Inference Pipelines 2026 SIGMOD 4.9769913e-05
10,733 Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization 2026 VLDB 4.9769913e-05
11,046 Future-Proof Data Systems 2026 VLDB 4.9769913e-05
11,140 Query Decorrelation in the Fabric Data Warehouse 2025 SIGMOD 4.9769913e-05
11,351 Towards Designing Future-Proof Data Processing Systems 2025 VLDB 4.9769913e-05
11,602 Optimizing Video Queries with Declarative Clues 2024 VLDB 4.9769913e-05
11,608 Hardware-Efficient Data Imputation through DBMS Extensibility 2024 VLDB 4.9769913e-05
11,938 Accelerating Complex Analytics using Speculation 2021 CIDR 4.9769913e-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