Compiling PL/SQL Away
Summary: Compile arbitrary PL/SQL functions, including loops and branching, into equivalent SQL subqueries (iteration → SQL recursion) to remove PL/SQL↔SQL context switches. Embedding function logic into the enclosing query enables global optimization and yields substantial cross-RDBMS speedups, challenging the "PL/SQL is slow" belief. (summarized by gpt-5-mini on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Christian Duta (University of Tübingen)
- 2. Denis Hirn (University of Tübingen)
- 3. Torsten Grust (University of Tübingen)
BibTeX Citation
@inproceedings{duta_cidr20,
address = {Amsterdam, Netherlands},
series = {{CIDR} '20},
title = {{Compiling PL/SQL Away}},
booktitle = {Proceedings of the {Conference} on {Innovative} {Data} {Systems} {Research}},
author = {Duta, Christian and Hirn, Denis and Grust, Torsten},
year = {2020}
}
Incoming Citations (Sorted by Pagerank)
Showing 19 of 19 citing papers.
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 4 of 4 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
| Rank | Cited Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 552 | Orthogonal Optimization of Subqueries and Aggregation | 2001 | SIGMOD | 0.0001653835 |
| 896 | Froid: Optimization of Imperative Programs in a Relational Database | 2018 | VLDB | 0.00013209291 |
| 1,274 | Rewriting Procedures for Batched Bindings | 2008 | VLDB | 0.00011247334 |
| 12,555 | Functions Are Data Too (Defunctionalization for PL/SQL) | 2013 | VLDB | 4.9793485e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| # | Overall Rank | Paper | Year | Venue |
|---|---|---|---|---|
| 1 | 289 | Optimization of Dynamic Query Evaluation Plans | 1994 | SIGMOD |
| 2 | 14,546 | Supporting Procedural Constructs in SQL Compilers | 1996 | VLDB |
| 3 | 12,012 | Low-Latency Compilation of SQL Queries to Machine Code | 2021 | VLDB |
| 4 | 10,223 | SQL Engines Excel at the Execution of Imperative Programs | 2024 | VLDB |
| 5 | 6,400 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD |
| 6 | 5,809 | Snakes on a Plan: Compiling Python Functions into Plain SQL Queries | 2022 | SIGMOD |
| 7 | 12,555 | Functions Are Data Too (Defunctionalization for PL/SQL) | 2013 | VLDB |
| 8 | 4,525 | Just-in-time compilation for SQL query processing | 2013 | VLDB |
| 9 | 3,194 | One WITH RECURSIVE is Worth Many GOTOs | 2021 | SIGMOD |
| 10 | 5,903 | PL/SQL Without the PL | 2020 | SIGMOD |