arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.13641cs.DBcs.AIcs.LG
收藏

基于机器学习的索引调优:最新进展与开放挑战综述

ML-Powered Index Tuning: An Overview of Recent Progress and Open Challenges

Microsoft Research(微软研究院)

Tarique Siddiqui, Wentao Wu

AI总结:

本文聚焦自动索引调优在云服务工作负载下的质量、可扩展性与性能回退挑战,综述了机器学习在工作负载选择、索引搜索加速等方向的进展,指出待填补空白并提出跨平台普及的初步设计。

摘要:

现代云服务中工作负载的规模与复杂性让自动索引调优的一项关键挑战愈发凸显:既要推荐高质量索引,又要保证索引调优的可扩展性。而自动索引方案还需在生产部署中尽可能降低查询性能回退,这进一步加剧了上述挑战,成为实现可扩展性与全自动化的重大阻碍。本文聚焦自动索引调优领域的这些挑战,探讨机器学习(ML)技术为缓解这些问题带来的新机遇。具体而言,我们回顾了近年在以下方向开发ML技术的相关工作:工作负载选择、候选索引过滤、加速索引配置搜索、减少查询优化器调用次数,以及降低性能回退概率。我们总结了这些工作的核心成果,并指出要让这些技术在传统索引调优框架中有效发挥作用,仍需填补的空白。此外,我们提出了一种初步的跨平台设计,旨在推动索引调优在多类类SQL系统中的普及——这在当今数据系统格局持续扩张的背景下势在必行。我们相信,本文的研究结果将为自动索引调优领域的研发工作提供参考与动力。

英文摘要:

The scale and complexity of workloads in modern cloud services have brought into sharper focus a critical challenge in automated index tuning -- the need to recommend high-quality indexes while maintaining index tuning scalability. This challenge is further compounded by the requirement for automated index implementations to introduce minimal query performance regressions in production deployments, representing a significant barrier to achieving scalability and full automation. This paper directs attention to these challenges within automated index tuning and explores ways in which machine learning (ML) techniques provide new opportunities in their mitigation. In particular, we reflect on recent efforts in developing ML techniques for workload selection, candidate index filtering, speeding up index configuration search, reducing the amount of query optimizer calls, and lowering the chances of performance regressions. We highlight the key takeaways from these efforts and underline the gaps that need to be closed for their effective functioning within the traditional index tuning framework. Additionally, we present a preliminary cross-platform design aimed at democratizing index tuning across multiple SQL-like systems -- an imperative in today's continuously expanding data system landscape. We believe our findings will help provide context and impetus to the research and development efforts in automated index tuning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑