Harmonizing the declarative and imperative in database systems

Subscribers:
344,000
Published on ● Video Link: https://www.youtube.com/watch?v=V_AoQsdgJB8



Duration: 1:02:14
548 views
17


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: https://www.microsoft.com/en-us/research/project/froid/
■ Aggify homepage: https://www.microsoft.com/en-us/research/project/aggify/
■ Optimizing imperative functions in relational databases with Froid (Blog): https://www.microsoft.com/en-us/research/blog/optimizing-imperative-functions-in-relational-databases-with-froid/
■ Introducing Scalar UDF Inlining (Blog): https://techcommunity.microsoft.com/t5/azure-sql-database/introducing-scalar-udf-inlining/ba-p/386270
■ Froid and the relational database query quandary with Dr. Karthik Ramachandra (Podcast): https://www.microsoft.com/en-us/research/podcast/froid-and-the-relational-database-query-quandry-with-dr-karthik-ramachandra/
■ Froid: Optimization of Imperative Programs in a Relational Database (Paper): http://www.vldb.org/pvldb/vol11/p432-ramachandra.pdf
■ BlackMagic: Automatic Inlining of Scalar UDFs into SQL Queries with Froid (Paper): http://www.vldb.org/pvldb/vol12/p1810-ramachandra.pdf
■ Aggify: Lifting the Curse of Cursor Loops using Custom Aggregates (paper): https://www.microsoft.com/en-us/research/publication/aggify-lifting-the-curse-of-cursor-loops-using-custom-aggregates/
■ Invited talk at University of Washington, Seattle, March 2019: https://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: https://aka.ms/msrwebinars




Other Videos By Microsoft Research


2021-04-27Virtual Lake Nona Impact Forum “Health Innovation in the New Reality”
2021-04-26FastNeRF: High-Fidelity Neural Rendering at 200FPS [Condensed]
2021-04-21Research for Industries (RFI) Lecture Series: Warren Powell
2021-04-21Research for Industries (RFI) Lecture Series: Andreas Haeberlen
2021-04-13Discovering hidden connections in art with deep, interpretable visual analogies
2021-04-13ZeRO & Fastest BERT: Increasing the scale and speed of deep learning training in DeepSpeed
2021-04-13Interactive sound simulation: Rendering immersive soundscapes in games and virtual reality
2021-04-13A prototype implementation of 4G packet gateway Microsoft Catapult FPGA platform
2021-04-12Self-Tuning Networks: Amortizing the Hypergradient Computation for Hyperparameter Optimization
2021-04-06Ultra-dense data storage and extreme parallelism with electronic-molecular systems
2021-04-06Harmonizing the declarative and imperative in database systems
2021-04-06Domain-specific language model pretraining for biomedical natural language processing
2021-03-30Platform Biography: A framework for analyzing the structures and dynamics of social media
2021-03-30Building multimodal, integrative AI systems with Platform for Situated Intelligence
2021-03-29From player to creator: Designing video games on gaming handhelds with Microsoft TileCode webinar
2021-03-29Camera-based non-contact health sensing
2021-03-29Foundations of causal inference and its impacts on machine learning webinar
2021-03-29Avatars: Finding a sense of self and others in the virtual world
2021-03-25In pursuit of responsible AI: Bringing principles to practice
2021-03-25Fairness-related harms in AI systems: Examples, assessment, and mitigation
2021-03-25Enhancing mobile work and productivity with virtual reality