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.00013164545
Overall Rank
896 | 94.00%
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,800 Procedural Extensions of SQL: Understanding their usage in the wild 2021 VLDB 9.5999908e-05
2,199 Extending Relational Query Processing with ML Inference 2020 CIDR 8.8664379e-05
2,219 Magpie: Python at Speed and Scale using Cloud Backends 2021 CIDR 8.8186113e-05
2,672 End-to-end Optimization of Machine Learning Prediction Queries 2022 SIGMOD 8.1301225e-05
2,716 Compiling PL/SQL Away 2020 CIDR 8.0819509e-05
3,190 One WITH RECURSIVE is Worth Many GOTOs 2021 SIGMOD 7.5364422e-05
3,691 Cloudy with High Chance of DBMS: A 10-year Prediction for Enterprise-Grade ML 2020 CIDR 7.0771037e-05
4,078 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates 2020 SIGMOD 6.8028789e-05
4,271 BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid 2019 VLDB 6.6760614e-05
4,302 A Method for Optimizing Opaque Filter Queries 2020 SIGMOD 6.6614501e-05
5,165 Reactors: A Case for Predictable, Virtualized Actor Database Systems 2018 SIGMOD 6.2340069e-05
5,246 Babelfish: Efficient Execution of Polyglot Queries 2022 VLDB 6.1985833e-05
5,629 BOSS - An Architecture for Database Kernel Composition 2024 VLDB 6.0424626e-05
5,690 iTurboGraph: Scaling and Automating Incremental Graph Analytics 2021 SIGMOD 6.0182427e-05
5,792 Snakes on a Plan: Compiling Python Functions into Plain SQL Queries 2022 SIGMOD 5.9761316e-05
5,919 PL/SQL Without the PL 2020 SIGMOD 5.9306506e-05
6,100 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.8699028e-05
6,104 Iterative Query Processing based on Unified Optimization Techniques 2019 SIGMOD 5.8688901e-05
6,203 Fine-Grained Lineage for Safer Notebook Interactions 2021 VLDB 5.8344547e-05
6,218 YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases 2022 VLDB 5.8292066e-05
6,413 Functional-Style SQL UDFs With a Capital 'F' 2020 SIGMOD 5.7764365e-05
6,428 Containerized Execution of UDFs: An Experimental Evaluation 2022 VLDB 5.7709339e-05
6,586 WeBridge: Synthesizing Stored Procedures for Large-Scale Real-World Web Applications 2024 SIGMOD 5.7237124e-05
6,726 Machine Learning, Linear Algebra, and More: Is SQL All You Need? 2022 CIDR 5.6824602e-05
6,765 Mitigating the Impedance Mismatch between Prediction Query Execution and Database Engine 2025 SIGMOD 5.6695399e-05
7,405 Lachesis: Automatic Partitioning for UDF-Centric Analytics 2021 VLDB 5.5172664e-05
7,975 Robust Query Processing: Mission Possible 2020 VLDB 5.3985544e-05
8,002 Efficient Execution of User-Defined Functions in SQL Queries 2023 VLDB 5.3927693e-05
8,176 Predicate Pushdown for Data Science Pipelines 2023 SIGMOD 5.3688159e-05
8,361 MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured Predicates 2020 SIGMOD 5.3310744e-05
8,620 Not Black-Box Anymore! Enabling Analytics-Aware Optimizations in Teradata Vantage 2021 VLDB 5.2868261e-05
8,635 The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 2025 VLDB 5.2832224e-05
9,163 Shedding Light on Opaque Application Queries 2021 SIGMOD 5.2034849e-05
9,179 In-depth Analysis of Continuous Subgraph Matching in a Common Delta Query Compilation Framework 2024 SIGMOD 5.1992749e-05
9,252 EPSC: Testing Database Management Systems via Equivalent Prepared Statement Construction 2026 SIGMOD 5.1860131e-05
9,672 QURE: AI-Assisted and Automatically Verified UDF Inlining 2025 SIGMOD 5.1267792e-05
9,729 The UDFBench Benchmark for General-purpose UDF Queries 2025 VLDB 5.1202393e-05
10,260 SQL Engines Excel at the Execution of Imperative Programs 2024 VLDB 5.0381136e-05
10,494 Automating Database-Native Function Code Synthesis with LLMs 2026 SIGMOD 4.9605343e-05
10,525 EncoderForge: Generating Efficient SQL for Encoders in Machine Learning Inference Pipelines 2026 SIGMOD 4.9605343e-05
10,794 Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization 2026 VLDB 4.9605343e-05
11,107 Future-Proof Data Systems 2026 VLDB 4.9605343e-05
11,199 Query Decorrelation in the Fabric Data Warehouse 2025 SIGMOD 4.9605343e-05
11,404 Towards Designing Future-Proof Data Processing Systems 2025 VLDB 4.9605343e-05
11,649 Optimizing Video Queries with Declarative Clues 2024 VLDB 4.9605343e-05
11,655 Hardware-Efficient Data Imputation through DBMS Extensibility 2024 VLDB 4.9605343e-05
11,982 Accelerating Complex Analytics using Speculation 2021 CIDR 4.9605343e-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