Lune

VLDB2022顶会

Learned Index Benefits: Machine Learning Based Index Performance Estimation

Jiachen Shi, Gao Cong, Xiaoli Li

摘要

Index selection remains one of the most challenging problems in relational database management systems. To find an optimum index configuration for a workload, accurately and efficiently quantifying the benefits of each candidate index configuration is indispensable. As materializing each index configuration candidate and physically executing queries are infeasible, most of index tuners rely on the cost estimations from optimizer with "what-if" API. However, "what-if" based index benefit estimations have the following two limitations. Firstly, they generate significant errors, which compromise index recommendation quality. Secondly, generating query plans and benefit estimations for each candidate index configuration takes a considerable amount of time. To address the two challenges in index selection, we propose an effective end-to-end machine learning based index benefit estimator. In particular, we propose novel feature extraction and encoding techniques that do not rely on "what-if" call to generate query plan for each index configuration candidate. In addition, we design an attention mechanism to address index interaction issue and aggregate the impacts of different query operations. Finally, we leverage transfer learning technique to improve the estimator's learning ability for adaption to new database. Comprehensive experiments are conducted on different workloads, and extensive experimental results show that our proposed method outperforms "what-if" based index benefit estimations in terms of accuracy and efficiency. In addition, integrating our method into existing index selection algorithms can significantly improve index recommendation quality.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Magic mirror in my hand, which is the best in the land? An Experimental Evaluation of Index Selection Algorithms
  • The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Bao: Making Learned Query Optimization Practical
  • Refactoring Index Tuning Process with Benefit Estimation 引用了 Magic mirror in my hand, which is the best in the land? An Experimental Evaluation of Index Selection Algorithms
  • Refactoring Index Tuning Process with Benefit Estimation 引用了 An End-to-End Learning-based Cost Estimator
  • Refactoring Index Tuning Process with Benefit Estimation 引用了 Bao: Making Learned Query Optimization Practical
  • This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch! 引用了 The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions
  • This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch! 引用了 Magic mirror in my hand, which is the best in the land? An Experimental Evaluation of Index Selection Algorithms
  • This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch! 引用了 Bao: Making Learned Query Optimization Practical
  • Bao: Making Learned Query Optimization Practical 引用了 An End-to-End Learning-based Cost Estimator
  • Breaking It Down: An In-depth Study of Index Advisors 引用了 Magic mirror in my hand, which is the best in the land? An Experimental Evaluation of Index Selection Algorithms
  • Breaking It Down: An In-depth Study of Index Advisors 引用了 An End-to-End Learning-based Cost Estimator
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Breaking It Down: An In-depth Study of Index AdvisorsWei Zhou, Chen Lin, Xuanhe Zhou, Guoliang LiVLDB 2024 · 21 次引用
  2. The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-ActionsWilliam Zhang, Wan Shen Lim, Matthew Butrovich, Andrew PavloVLDB 2024 · 13 次引用
  3. Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 次引用
  4. Accelerating String-key Learned Index Structures via Memoization-based Incremental TrainingMinsu Kim, Jinwoo Hwang, Guseul Heo, Seiyeon Cho 等VLDB 2024 · 10 次引用
  5. This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch!William Zhang, Wan Shen Lim, Andrew PavloSIGMOD 2026 · 7 次引用

它引用的 Paper3

  1. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
  2. Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
  3. Magic mirror in my hand, which is the best in the land? An Experimental Evaluation of Index Selection AlgorithmsJan Kossmann, Stefan Halfpap, Marcel Jankrift, Rainer SchlosserVLDB 2020

相关 Paper

  1. Robust Index Benefit Estimation via Hierarchical and Two-Dimensional Feature RepresentationTao Li, Feng Liang, Jinqi Quan, Zihang Yang 等ICDE 2026 · 1 次引用
  2. UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing 等ICDE 2026
  3. RIB: Robust Learning-based Index Benefit EstimationSifan Chen, Chenning Wu, Yinan Jing, Wentao Wu 等SIGMOD 2026
  4. DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index TuningTarique Siddiqui, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2022 · 36 次引用
  5. Rainbow: Risk-aware Index Benefit Estimation Facing Out Of Distribution WorkloadsKecheng Luo, Ruiyang Ma, Peng CaiSIGMOD 2026 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖