迈向统一 LakeHouse 生态系统中的查询优化器即服务(QOaaS):一个 QO 能否统领所有?
Towards Query Optimizer as a Service (QOaaS) in a Unified LakeHouse Ecosystem: Can One QO Rule Them All?
AI总结:
本文探讨在统一 LakeHouse 生态系统中将查询优化器从定制或库共享模式转向查询优化器即服务(QOaaS)的可行性,结合 Calcite、Cascades 在 SQL Server、Fabric DW 和 SCOPE 中的实践经验,分析其集中优化、多引擎联邦等优势与挑战。
摘要:
客户需求、监管压力和工程效率是推动行业从孤立优化的引擎和服务向高度集成解决方案转变的驱动力。开放格式的广泛采用、共享组件库的普及,以及 Microsoft Fabric 等集成数据湖体验的巨大成功都证实了这一趋势。在本文中,我们研究了这一趋势对查询优化器(QO)的影响,并讨论了我们构建 Calcite 并将 Cascades 扩展为 Microsoft SQL Server、Fabric Data Warehouse(DW)和 SCOPE 的 QO 组件的经验。我们权衡了方向性剧变的利弊:从定制 QO 或库共享(如 Calcite)转向重写 QO 栈并全面拥抱查询优化器即服务(QOaaS)。我们报告了在探索与 Fabric DW 和 Spark 兼容的原型时取得的一些早期成功和遇到的挫折。其优势包括集中式工作负载级优化、多引擎联邦和加速功能创建,但挑战同样艰巨。我们计划邀请 CIDR 的与会者就这一激动人心的话题展开辩论。
英文摘要:
Customer demand, regulatory pressure, and engineering efficiency are the driving forces behind the industry-wide trend of moving from siloed engines and services that are optimized in isolation to highly integrated solutions. This is confirmed by the wide adoption of open formats, shared component libraries, and the meteoric success of integrated data lake experiences such as Microsoft Fabric. In this paper, we study the implications of this trend to Query Optimizer (QO) and discuss our experience of building Calcite and extending Cascades into QO components of Microsoft SQL Server, Fabric Data Warehouse (DW), and SCOPE. We weigh the pros and cons of a drastic change in direction: moving from bespoke QOs or library-sharing (à la Calcite) to rewriting the QO stack and fully embracing Query Optimizer as a Service (QOaaS). We report on some early successes and stumbles as we explore these ideas with prototypes compatible with Fabric DW and Spark. The benefits include centralized workload-level optimizations, multi-engine federation, and accelerated feature creation, but the challenges are equally daunting. We plan to engage CIDR audience in a debate on this exciting topic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。