Lune

SIGMOD2024顶会

Wred: Workload Reduction for Scalable Index Tuning

Matteo Brucato, Tarique Siddiqui, Wentao Wu, Vivek R. Narasayya, Surajit Chaudhuri

摘要

Modern database systems offer index-tuning advisors that automatically identify a set of indexes to improve workload performance. Advisors leverage the optimizer's what-if API to optimize a query for a hypothetical index configuration. Because what-if calls constitute a major bottleneck of index tuning, existing techniques, such as workload compression, help reduce the number of what-if calls to speed up tuning. Unfortunately, even with small workloads and few what-if calls, tuning can still take hours due to the complexity of the queries (e.g., the number of joins, filters, group-by and order-by clauses), which increases their optimization time. This paper introduces workload reduction, a new complementary technique aimed at expediting index tuning by decreasing individual what-if call time without significantly affecting the quality of index tuning. We present an efficient workload reduction algorithm, called Wred, which rewrites each query in the original workload to eliminate column and table expressions unlikely to benefit from indexes, thereby accelerating what-if calls. We study its complexity and ability to maintain high index quality. We perform an extensive evaluation over industry benchmarks and real-world customer workloads, which shows that Wred results in a 3x median speedup in tuning efficiency over an industrial-strength state-of-the-art index advisor, with only a 3.7% median loss in improvement---where improvement is the total workload cost as estimated by the query optimizer---and results in up to 24.7x speedup with 1.8% improvement loss. Furthermore, combining Wred and Isum (a state-of-the-art workload compression technique for index tuning) results in higher speedups than either of the two techniques alone, with 10.5x median speedup and 5% median improvement loss.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Esc: An Early-Stopping Checker for Budget-aware Index Tuning
  • UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Wii: Dynamic Budget Reallocation In Index Tuning
  • UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning
  • UTune: Towards Uncertainty-Aware Online Index Tuning 引用了 Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis]
  • Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 Wii: Dynamic Budget Reallocation In Index Tuning
  • Esc: An Early-Stopping Checker for Budget-aware Index Tuning 引用了 DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning
  • Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management Systems 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management Systems 引用了 A Learned Query Rewrite System using Monte Carlo Tree Search
  • Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management Systems 引用了 Wii: Dynamic Budget Reallocation In Index Tuning
  • Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management Systems 引用了 DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning
  • Wii: Dynamic Budget Reallocation In Index Tuning 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • Wii: Dynamic Budget Reallocation In Index Tuning 引用了 DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning
  • DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Budget-aware Index Tuning with Reinforcement Learning
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Esc: An Early-Stopping Checker for Budget-aware Index Tuning
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Wii: Dynamic Budget Reallocation In Index Tuning
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 DISTILL: Low-Overhead Data-Driven Techniques for Filtering and Costing Indexes for Scalable Index Tuning
  • Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis] 引用了 Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Hit the Gym: Accelerating Query Execution to Efficiently Bootstrap Behavior Models for Self-Driving Database Management SystemsWan Shen Lim, Lin Ma, William Zhang, Matthew Butrovich 等VLDB 2024 · 10 次引用
  2. Wii: Dynamic Budget Reallocation In Index TuningXiaoying Wang, Wentao Wu, Chi Wang, Vivek R. Narasayya 等SIGMOD 2024 · 6 次引用
  3. Esc: An Early-Stopping Checker for Budget-aware Index TuningXiaoying Wang, Wentao Wu, Vivek R. Narasayya, Surajit ChaudhuriVLDB 2025 · 4 次引用
  4. UTune: Towards Uncertainty-Aware Online Index TuningChenning Wu, Sifan Chen, Wentao Wu, Yinan Jing 等ICDE 2026
  5. Understanding and Detecting Query Performance Regression in Practical Index Tuning: [Experiments & Analysis]Wentao Wu, Anshuman Dutt, Gaoxiang Xu, Vivek R. Narasayya 等SIGMOD 2026

它引用的 Paper9

  1. Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu 等VLDB 2022 · 169 次引用
  2. Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsYujian Gan, Xinyun Chen, Jinxia Xie, Matthew Purver 等EMNLP Findings 2021 · 88 次引用
  3. A Learned Query Rewrite System using Monte Carlo Tree SearchXuanhe Zhou, Guoliang Li, Chengliang Chai, Jianhua FengVLDB 2022 · 85 次引用
  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. Budget-aware Index Tuning with Reinforcement LearningWentao Wu, Chi Wang, Tarique Siddiqui, Junxiong Wang 等SIGMOD 2022 · 33 次引用

相关 Paper

  1. ISUM: Efficiently Compressing Large and Complex Workloads for Scalable Index TuningTarique Siddiqui, Saehan Jo, Wentao Wu, Chi Wang 等SIGMOD 2022 · 25 次引用
  2. Refactoring Index Tuning Process with Benefit EstimationTao Yu, Zhaonian Zou, Weihua Sun, Yu YanVLDB 2024 · 13 次引用
  3. SCompression: Enhancing Database Knob Tuning Efficiency Through Slice-Based OLTP Workload CompressionBaoqing Cai, Yu Liu, Lin Ma, Pingqi Huang 等VLDB 2025 · 1 次引用
  4. Guiding Index Tuning Exploration with Potential EstimationKecheng Luo, Ruiyang Ma, Peng Cai, Aoying Zhou 等ICDE 2025 · 1 次引用
  5. Breaking It Down: An In-depth Study of Index AdvisorsWei Zhou, Chen Lin, Xuanhe Zhou, Guoliang LiVLDB 2024 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖