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
11943
Venue
VLDB
Year
2018
Pagerank
0.00013367658
Overall Rank
894 | 93.87%
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 46 of 46 citing papers.

Rank Citing Paper Year Venue Pagerank
1,892 Procedural Extensions of SQL: Understanding their usage in the wild 2021 VLDB 9.5277793e-05
2,293 Extending Relational Query Processing with ML Inference 2020 CIDR 8.7949378e-05
2,651 Magpie: Python at Speed and Scale using Cloud Backends 2021 CIDR 8.2918086e-05
2,684 Compiling PL/SQL Away 2020 CIDR 8.25952e-05
2,865 End-to-end Optimization of Machine Learning Prediction Queries 2022 SIGMOD 8.0180243e-05
3,257 One WITH RECURSIVE is Worth Many GOTOs 2021 SIGMOD 7.590651e-05
3,614 Cloudy with High Chance of DBMS: A 10-year Prediction for Enterprise-Grade ML 2020 CIDR 7.2568185e-05
3,992 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates 2020 SIGMOD 6.9695338e-05
4,180 BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid 2019 VLDB 6.8487143e-05
4,264 A Method for Optimizing Opaque Filter Queries 2020 SIGMOD 6.7937529e-05
5,015 Reactors: A Case for Predictable, Virtualized Actor Database Systems 2018 SIGMOD 6.4000528e-05
5,301 Babelfish: Efficient Execution of Polyglot Queries 2022 VLDB 6.2750553e-05
5,567 iTurboGraph: Scaling and Automating Incremental Graph Analytics 2021 SIGMOD 6.1709411e-05
5,684 Snakes on a Plan: Compiling Python Functions into Plain SQL Queries 2022 SIGMOD 6.1224825e-05
5,828 PL/SQL Without the PL 2020 SIGMOD 6.073983e-05
5,991 Iterative Query Processing based on Unified Optimization Techniques 2019 SIGMOD 6.0171458e-05
6,015 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 6.008272e-05
6,071 Fine-Grained Lineage for Safer Notebook Interactions 2021 VLDB 5.9873765e-05
6,314 YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases 2022 VLDB 5.9157364e-05
6,328 Functional-Style SQL UDFs With a Capital 'F' 2020 SIGMOD 5.9113895e-05
6,475 WeBridge: Synthesizing Stored Procedures for Large-Scale Real-World Web Applications 2024 SIGMOD 5.8687157e-05
6,553 Containerized Execution of UDFs: An Experimental Evaluation 2022 VLDB 5.8417517e-05
6,604 Machine Learning, Linear Algebra, and More: Is SQL All You Need? 2022 CIDR 5.8240599e-05
6,614 Mitigating the Impedance Mismatch between Prediction Query Execution and Database Engine 2025 SIGMOD 5.8216658e-05
7,058 BOSS - An Architecture for Database Kernel Composition 2024 VLDB 5.7154673e-05
7,311 Lachesis: Automatic Partitioning for UDF-Centric Analytics 2021 VLDB 5.6491618e-05
7,829 Robust Query Processing: Mission Possible 2020 VLDB 5.5360082e-05
8,096 Efficient Execution of User-Defined Functions in SQL Queries 2023 VLDB 5.4875738e-05
8,211 MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured Predicates 2020 SIGMOD 5.4658735e-05
8,450 Not Black-Box Anymore! Enabling Analytics-Aware Optimizations in Teradata Vantage 2021 VLDB 5.4231788e-05
8,465 Predicate Pushdown for Data Science Pipelines 2023 SIGMOD 5.4194578e-05
9,105 Shedding Light on Opaque Application Queries 2021 SIGMOD 5.3239455e-05
9,415 The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 2025 VLDB 5.2742285e-05
9,440 In-depth Analysis of Continuous Subgraph Matching in a Common Delta Query Compilation Framework 2024 SIGMOD 5.2680376e-05
9,456 QURE: AI-Assisted and Automatically Verified UDF Inlining 2025 SIGMOD 5.2643416e-05
9,917 The UDFBench Benchmark for General-purpose UDF Queries 2025 VLDB 5.1955087e-05
10,040 SQL Engines Excel at the Execution of Imperative Programs 2024 VLDB 5.1723558e-05
10,200 Automating Database-Native Function Code Synthesis with LLMs 2026 SIGMOD 5.093636e-05
10,232 EncoderForge: Generating Efficient SQL for Encoders in Machine Learning Inference Pipelines 2026 SIGMOD 5.093636e-05
10,235 EPSC: Testing Database Management Systems via Equivalent Prepared Statement Construction 2026 SIGMOD 5.093636e-05
10,541 Scalable GPU Acceleration of Scalar Functions in Analytical Databases: Compilation, Benchmarking, and Optimization 2026 VLDB 5.093636e-05
10,697 Query Decorrelation in the Fabric Data Warehouse 2025 SIGMOD 5.093636e-05
10,957 Towards Designing Future-Proof Data Processing Systems 2025 VLDB 5.093636e-05
11,268 Optimizing Video Queries with Declarative Clues 2024 VLDB 5.093636e-05
11,275 Hardware-Efficient Data Imputation through DBMS Extensibility 2024 VLDB 5.093636e-05
11,625 Accelerating Complex Analytics using Speculation 2021 CIDR 5.093636e-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