Microsoft Research Webinar Series
Available on-demand. Register now.
Harmonizing the declarative and imperative in database systems
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
Karthik Ramachandra has been with Microsoft since 2014, starting as a scientist at Microsoft Gray Systems Lab in Madison, Wisconsin. He later moved to Microsoft Research India as a researcher and then onto his current role as a manager of the Azure SQL Database R & D organization in India. His areas of research include query processing and optimization in large-scale database systems, cloud database-as-a-service, and the intersection of databases and compilers/programming languages. His doctoral work at IIT Bombay received an honorable mention for the 2015 ACM SIGMOD Jim Gray Doctoral Dissertation Award and won the IIT Bombay Excellence in PhD Research Award 2015.
*This on-demand webinar features a previously recorded Q&A session and open captioning.