Harmonizing the declarative and imperative in database systems

582
11.4
Опубликовано 6 апреля 2021, 21:21
Most relational database engines allow users to express their intent with both declarative SQL and imperative functions/procedures, and practitioners often combine the two in database applications. But while today’s database systems employ highly sophisticated techniques to optimize and evaluate declarative SQL statements, the evaluation of imperative programs has largely remained naive and inefficient. This has limited their use in many performance-critical situations despite imperative programming offering several benefits over SQL.

In this webinar, Karthik Ramachandra, a Principal Engineering Manager who heads the Azure SQL Database R & D India organization at Microsoft, will take you on a journey addressing this important but often overlooked problem. First, he’ll describe how the declarative and imperative styles of programming are intertwined in today’s database systems and explain the challenges faced by practitioners. Then, he’ll address why this problem has lingered without a solution for years and what makes it unique. He’ll also delve into the details of Froid and Aggify, two related techniques for evaluating imperative programs in database systems that result in performance improvements of up to multiple orders of magnitude over the existing state of the art.

Together, you’ll explore:

■ The interplay of declarative and imperative styles of programming in database systems
■ The root cause of the performance disparity between these two styles
■ The recent developments with Froid and Aggify, which blend technologies from compilers and database query optimizers seamlessly to get the best of both programming styles
■ An experimental evaluation that demonstrates how these techniques harmonize the two disparate programming styles for a large class of database applications

𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲 𝗹𝗶𝘀𝘁:

■ Froid homepage: microsoft.com/en-us/research/p...
■ Aggify homepage: microsoft.com/en-us/research/p...
■ Optimizing imperative functions in relational databases with Froid (Blog): microsoft.com/en-us/research/b...
■ Introducing Scalar UDF Inlining (Blog): techcommunity.microsoft.com/t5...
■ Froid and the relational database query quandary with Dr. Karthik Ramachandra (Podcast): microsoft.com/en-us/research/p...
■ Froid: Optimization of Imperative Programs in a Relational Database (Paper): vldb.org/pvldb/vol11/p432-rama...
■ BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid (Paper): vldb.org/pvldb/vol12/p1810-ram...
■ Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates (paper): microsoft.com/en-us/research/p...
■ Invited talk at University of Washington, Seattle, March 2019: youtu.be/Xyvpcf2RtO4

*This on-demand webinar features a previously recorded Q&A session and open captioning.

This webinar originally aired on October 08, 2020

Explore more Microsoft Research webinars: aka.ms/msrwebinars
автотехномузыкадетское