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
- 2. Denis Hirn
- 3. Torsten Grust
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 |
|---|---|---|---|---|
| 639 | Orthogonal Optimization of Subqueries and Aggregation | 2001 | SIGMOD | 0.00018791492 |
| 1,108 | Froid: Optimization of Imperative Programs in a Relational Database | 2018 | VLDB | 0.00013984276 |
| 1,456 | Rewriting Procedures for Batched Bindings | 2008 | VLDB | 0.00011899772 |
| 12,066 | Functions Are Data Too (Defunctionalization for PL/SQL) | 2013 | VLDB | 4.1945683e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| Overall Rank | Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 339 | Optimization of Dynamic Query Evaluation Plans | 1994 | SIGMOD | 0.00026851113 |
| 14,036 | Supporting Procedural Constructs in SQL Compilers | 1996 | VLDB | - |
| 11,510 | Low-Latency Compilation of SQL Queries to Machine Code | 2021 | VLDB | 4.1945683e-05 |
| 9,884 | SQL Engines Excel at the Execution of Imperative Programs | 2024 | VLDB | 4.2635782e-05 |
| 6,645 | Functional-Style SQL UDFs With a Capital 'F' | 2020 | SIGMOD | 4.978205e-05 |
| 6,212 | Snakes on a Plan: Compiling Python Functions into Plain SQL Queries | 2022 | SIGMOD | 5.1552576e-05 |
| 12,066 | Functions Are Data Too (Defunctionalization for PL/SQL) | 2013 | VLDB | 4.1945683e-05 |
| 4,376 | Just-in-time compilation for SQL query processing | 2013 | VLDB | 6.2424797e-05 |
| 3,648 | One WITH RECURSIVE is Worth Many GOTOs | 2021 | SIGMOD | 6.8831123e-05 |
| 6,108 | PL/SQL Without the PL | 2020 | SIGMOD | 5.2059662e-05 |