Lune

VLDB2021顶会

Procedural Extensions of SQL: Understanding their usage in the wild

Surabhi Gupta, Karthik Ramachandra

摘要

Procedural extensions of SQL have been in existence for many decades now. However, little is known about their magnitude of usage and their complexity in real-world workloads. Procedural code executing in a RDBMS is known to have inefficiencies and limitations; as a result there have been several efforts to address this problem. However, the lack of understanding of their use in real workloads makes it challenging to (a) motivate new work in this area, (b) identify research challenges and opportunities, and (c) demonstrate impact of novel work. We aim to address these challenges with our work.

In this paper, we present the results of our in-depth analysis of thousands of stored procedures, user-defined functions and triggers taken from several real workloads. We introduce SQL-ProcBench , a benchmark for procedural workloads in RDBMSs. SQL-ProcBench has been created using the insights derived from our analysis, and thus represents real workloads. Using SQL-ProcBench, we present an experimental evaluation on several database engines to understand and identify research challenges and opportunities. We emphasize the need to work on these interesting and relevant problems, and encourage researchers to contribute to this area.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 引用了 Declarative Sub-Operators for Universal Data Processing
  • The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining 引用了 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates
  • Declarative Sub-Operators for Universal Data Processing 引用了 User-Defined Operators: Efficiently Integrating Custom Algorithms into Modern Databases
  • Declarative Sub-Operators for Universal Data Processing 引用了 YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases
  • YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational Databases 引用了 Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. YeSQL: "You extend SQL" with Rich and Highly Performant User-Defined Functions in Relational DatabasesYannis E. Foufoulas, Alkis Simitsis, Eleftherios Stamatogiannakis, Yannis E. IoannidisVLDB 2022 · 25 次引用
  2. User-Defined Operators: Efficiently Integrating Custom Algorithms into Modern DatabasesMoritz Sichert, Thomas NeumannVLDB 2022 · 23 次引用
  3. Declarative Sub-Operators for Universal Data ProcessingMichael Jungmair, Jana GicevaVLDB 2023 · 17 次引用
  4. The Key to Effective UDF Optimization: Before Inlining, First Perform OutliningSamuel Arch, Yuchen Liu, Todd C. Mowry, Jignesh M. Patel 等VLDB 2025 · 8 次引用
  5. Are Database System Researchers Making Correct Assumptions about Transaction Workloads?Cuong D. T. Nguyen, Kevin Chen, Christopher DeCarolis, Daniel J. AbadiSIGMOD 2025 · 4 次引用

它引用的 Paper5

  1. Permutable Compiled Queries: Dynamically Adapting Compiled Queries without RecompilingPrashanth Menon, Amadou Ngom, Todd C. Mowry, Andrew Pavlo 等VLDB 2021 · 26 次引用
  2. Aggify: Lifting the Curse of Cursor Loops using Custom AggregatesSurabhi Gupta, Sanket Purandare, Karthik RamachandraSIGMOD 2020 · 22 次引用
  3. A Method for Optimizing Opaque Filter QueriesWenjia He, Michael R. Anderson, Maxwell Strome, Michael J. CafarellaSIGMOD 2020 · 15 次引用
  4. Functional-Style SQL UDFs With a Capital 'F'Christian Duta, Torsten GrustSIGMOD 2020 · 11 次引用
  5. MONSOON: Multi-Step Optimization and Execution of Queries with Partially Obscured PredicatesSourav Sikdar, Chris JermaineSIGMOD 2020 · 6 次引用

相关 Paper

  1. The UDFBench Benchmark for General-purpose UDF QueriesYannis Foufoulas, Theoni Palaiologou, Alkis SimitsisVLDB 2025
  2. PBench: Workload Synthesizer with Real Statistics for Cloud Analytics BenchmarkingYan Zhou, Chunwei Liu, Bhuvan Urgaonkar, Zhengle Wang 等VLDB 2025 · 4 次引用
  3. Redbench: Workload Synthesis From Cloud TracesJohannes Wehrstein, Roman Heinrich, Mihail Stoian, Skander Krid 等VLDB 2026 · 7 次引用
  4. IDEBench: A Benchmark for Interactive Data ExplorationPhilipp Eichmann, Emanuel Zgraggen, Carsten Binnig, Tim KraskaSIGMOD 2020 · 57 次引用
  5. An In-Depth Benchmarking of Text-to-SQL SystemsOrest Gkini, Theofilos Belmpas, Georgia Koutrika, Yannis E. IoannidisSIGMOD 2021 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖