Lune

VLDB2024顶会

PilotScope: Steering Databases with Machine Learning Drivers

Rong Zhu, Lianggui Weng, Wenqing Wei, Di Wu, Jiazhen Peng, Yifan Wang, Bolin Ding, Defu Lian, Bolong Zheng, Jingren Zhou

摘要

Learned databases, or AI4DB techniques, have rapidly developed in the last decade. Deploying machine learning (ML) and AI4DB algorithms into actual databases is the gold standard to examine their performance in practice. However, due to the complexity of database systems, the difference between ML and DB programming paradigms, and the diversity of ML models, the tasks of developing and deploying AI4DB algorithms into databases are prohibitively difficult. Most previous works focus on specific AI4DB algorithms and ML models whose deployment requires close cooperation between ML and DB developers and heavy engineering cost.

In this paper, we design and implement PilotScope, an AI4DB middleware with a programming model that largely reduces such difficulties. With a novel abstraction of AI4DB algorithms for, e.g. , knob tuning and query optimization, PilotScope consists of two classes of components, AI4DB drivers and DB interactors , with different programming paradigms and roles in AI4DB tasks. ML developers focus on designing and implementing AI4DB drivers, which are algorithmic workflows that collect statistics from databases, train ML models, make decisions and optimize databases using learned models. AI4DB drivers interact with databases via DB interactors ( e.g. , for collecting data and enforcing actions in databases). DB developers focus on implementing these interactors on one or more database engines, with the interaction details hindered from ML developers. PilotScope supports a variety of AI4DB tasks, and the implementation of an AI4DB algorithm on PilotScope can be deployed in different databases with only minimum modifications. PilotScope is effective in benchmarking these AI4DB algorithms in real-world scenarios. We hope that PilotScope could significantly accelerate iterating AI4DB research and make AI4DB techniques truly applicable in production.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • PRICE: A Pretrained Model for Cross-Database Cardinality Estimation 引用了 Are We Ready For Learned Cardinality Estimation?
  • PRICE: A Pretrained Model for Cross-Database Cardinality Estimation 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • Are We Ready For Learned Cardinality Estimation? 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints 引用了 FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimation
  • GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints 引用了 Bao: Making Learned Query Optimization Practical
  • FB+-tree: A Memory-Optimized B+-tree with Latch-Free Update 引用了 ALEX: An Updatable Adaptive Learned Index
  • FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimation 引用了 Are We Ready For Learned Cardinality Estimation?
  • FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimation 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • Learned Offline Query Planning via Bayesian Optimization 引用了 NeuroCard: One Cardinality Estimator for All Tables
  • Learned Offline Query Planning via Bayesian Optimization 引用了 Bao: Making Learned Query Optimization Practical
  • Low Rank Learning for Offline Query Optimization 引用了 Learned Offline Query Planning via Bayesian Optimization
  • Low Rank Learning for Offline Query Optimization 引用了 Bao: Making Learned Query Optimization Practical
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. PRICE: A Pretrained Model for Cross-Database Cardinality EstimationTianjing Zeng, Junwei Lan, Jiahong Ma, Wenqing Wei 等VLDB 2025 · 14 次引用
  2. Learned Offline Query Planning via Bayesian OptimizationJeffrey Tao, Natalie Maus, Haydn Thomas Jones, Yimeng Zeng 等SIGMOD 2025 · 5 次引用
  3. Low Rank Learning for Offline Query OptimizationZixuan Yi, Yao Tian, Zachary G. Ives, Ryan MarcusSIGMOD 2025 · 4 次引用
  4. GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan HintsPavel Sulimov, Claude Lehmann, Kurt StockingerSIGMOD 2026 · 3 次引用
  5. FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 2 次引用

它引用的 Paper25

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
  3. Are We Ready For Learned Cardinality Estimation?Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang 等VLDB 2021 · 156 次引用
  4. NeuroCard: One Cardinality Estimator for All TablesZongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang 等VLDB 2021 · 138 次引用
  5. FLAT: Fast, Lightweight and Accurate Method for Cardinality EstimationRong Zhu, Ziniu Wu, Yuxing Han, Kai Zeng 等VLDB 2021 · 120 次引用

相关 Paper

  1. Tastes Great! Less Filling! High Performance and Accurate Training Data Collection for Self-Driving Database Management SystemsMatthew Butrovich, Wan Shen Lim, Lin Ma, John Rollinson 等SIGMOD 2022 · 12 次引用
  2. AgentTune: An Agent-Based Large Language Model Framework for Database Knob TuningYiyan Li, Haoyang Li, Jing Zhang, Renata Borovica-Gajic 等SIGMOD 2026 · 5 次引用
  3. A Unified and Efficient Coordinating Framework for Autonomous DBMS TuningXinyi Zhang, Zhuo Chang, Hong Wu, Yang Li 等SIGMOD 2023 · 17 次引用
  4. DB4ML - An In-Memory Database Kernel with Machine Learning SupportMatthias Jasny, Tobias Ziegler, Tim Kraska, Uwe Röhm 等SIGMOD 2020 · 27 次引用
  5. 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 次引用
黄昏的海面,两侧是细线勾勒的悬崖