Lune

SIGMOD2021顶会

A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimation

Peizhi Wu, Gao Cong

摘要

Cardinality estimation is a fundamental problem in database systems. To capture the rich joint data distributions of a relational table, most of the existing work either uses data as unsupervised information or uses query workload as supervised information. Very little work has been done to use both types of information, and cannot fully make use of both types of information to learn the joint data distribution. In this work, we aim to close the gap between data-driven and query-driven methods by proposing a new unified deep autoregressive model, UAE, that learns the joint data distribution from both the data and query workload. First, to enable using the supervised query information in the deep autoregressive model, we develop differentiable progressive sampling using the Gumbel-Softmax trick. Second, UAE is able to utilize both types of information to learn the joint data distribution in a single model. Comprehensive experimental results demonstrate that UAE achieves single-digit multiplicative error at tail, better accuracies over state-of-the-art methods, and is both space and time efficient.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FactorJoin: A New Cardinality Estimation Framework for Join Queries 引用了 Deep Learning Models for Selectivity Estimation of Multi-Attribute Queries
  • FactorJoin: A New Cardinality Estimation Framework for Join Queries 引用了 An End-to-End Learning-based Cost Estimator
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 FactorJoin: A New Cardinality Estimation Framework for Join Queries
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 Deep Learning Models for Selectivity Estimation of Multi-Attribute Queries
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 Learned Cardinality Estimation: An In-depth Study
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 Deep Unsupervised Cardinality Estimation
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 QuickSel: Quick Selectivity Learning with Mixture Models
  • Robust Query Driven Cardinality Estimation under Changing Workloads 引用了 Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation
  • ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads 引用了 FactorJoin: A New Cardinality Estimation Framework for Join Queries
  • ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads 引用了 Robust Query Driven Cardinality Estimation under Changing Workloads
  • ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads 引用了 Deep Unsupervised Cardinality Estimation
  • Learned Cardinality Estimation: An In-depth Study 引用了 Deep Learning Models for Selectivity Estimation of Multi-Attribute Queries
  • Learned Cardinality Estimation: An In-depth Study 引用了 Deep Unsupervised Cardinality Estimation
  • Learned Cardinality Estimation: An In-depth Study 引用了 QuickSel: Quick Selectivity Learning with Mixture Models
  • Learned Cardinality Estimation: An In-depth Study 引用了 An End-to-End Learning-based Cost Estimator
  • Deep Unsupervised Cardinality Estimation 引用了 QuickSel: Quick Selectivity Learning with Mixture Models
  • QuickSel: Quick Selectivity Learning with Mixture Models 引用了 Deep Unsupervised Cardinality Estimation
  • Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 Deep Learning Models for Selectivity Estimation of Multi-Attribute Queries
  • Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 An End-to-End Learning-based Cost Estimator
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper30

  1. Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu 等VLDB 2022 · 169 次引用
  2. Robust Query Driven Cardinality Estimation under Changing WorkloadsParimarjan Negi, Ziniu Wu, Andreas Kipf, Nesime Tatbul 等VLDB 2023 · 88 次引用
  3. FactorJoin: A New Cardinality Estimation Framework for Join QueriesZiniu Wu, Parimarjan Negi, Mohammad Alizadeh, Tim Kraska 等SIGMOD 2023 · 54 次引用
  4. Learned Cardinality Estimation: An In-depth StudyKyoungmin Kim, Jisung Jung, In Seo, Wook-Shin Han 等SIGMOD 2022 · 51 次引用
  5. ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic WorkloadsPengfei Li, Wenqing Wei, Rong Zhu, Bolin Ding 等VLDB 2024 · 50 次引用

它引用的 Paper4

  1. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
  2. Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu 等VLDB 2020 · 206 次引用
  3. Deep Learning Models for Selectivity Estimation of Multi-Attribute QueriesShohedul Hasan, Saravanan Thirumuruganathan, Jees Augustine, Nick Koudas 等SIGMOD 2020 · 101 次引用
  4. QuickSel: Quick Selectivity Learning with Mixture ModelsYongjoo Park, Shucheng Zhong, Barzan MozafariSIGMOD 2020 · 66 次引用

相关 Paper

  1. Duet: Efficient and Scalable Hybrid Neural Relation UnderstandingKaixin Zhang, Hongzhi Wang, Yabin Lu, Ziqi Li 等ICDE 2024 · 3 次引用
  2. NeuroCard: One Cardinality Estimator for All TablesZongheng Yang, Amog Kamsetty, Sifei Luan, Eric Liang 等VLDB 2021 · 138 次引用
  3. SAM: Database Generation from Query Workloads with Supervised Autoregressive ModelsJingyi Yang, Peizhi Wu, Gao Cong, Tieying Zhang 等SIGMOD 2022 · 13 次引用
  4. Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li 等VLDB 2022 · 90 次引用
  5. FACE: A Normalizing Flow based Cardinality EstimatorJiayi Wang, Chengliang Chai, Jiabin Liu, Guoliang LiVLDB 2022
黄昏的海面,两侧是细线勾勒的悬崖