arrow
返回

Learning complex predicates for cardinality estimation using recursive neural networks

delete2024-09-01
delete1
PRE
AI
Z
Zhi Wang
H
Hancong Duan *
G
Geyong Min
DOI:10.1016/j.is.2024.102402delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Cardinality estimation is one of the most vital components in the query optimizer, which has been extensively studied recently. On one hand, traditional cardinality estimators, such as histograms and sampling methods, struggle to capture the correlations between multiple tables. On the other hand, current learning-based methods still suffer from the feature extraction of complex predicates and join relations, which will lead to inaccurate cost estimation, eventually a sub-optimal execution plan. To address these challenges, we present a novel end-to-end architecture leveraging deep learning to provide high-quality cardinality estimation. We exploit an effective feature extraction technique, which can fully make use of the structure of tables, join conditions and predicates. Besides, we use sampling-based technique to construct sample bitmaps for the tables and join conditions respectively. We also utilize the characteristics of predicate tree combined with recursive neural network to extract deep-level features of complex predicates. Finally, we embed these feature vectors into the model, which consists of three components: a recursive neural network, a graph convolutional neural network (GCN) and a multi-set convolutional neural network, to obtain the estimated cardinality. Extensive results conducted on real-world workloads demonstrate that our approach can achieve significant improvement in accuracy and be extended to queries with complex semantics.
Keyword:
Cardinality estimation
Recursive neural networks
Complex predicates
Sampling

期刊

Enterprise Information Systems 封面图
Enterprise Information Systems
IF:
3.9
论文数:
2.8K
被引数:
1.8K

机构

U
University of Exeter
学者数:
2.0W
论文数: 2.1W
被引数: 3.6W
引用论文

引用论文

1H mas NMR and IR studies of the acidic properties of realuminated zeolite Y
err1989-01-01
err0
PREAI
errJacek Klinowski; Halimaton Hamdan; Avelino Corma; Vincente Forn�s; Michael Hunger; Dieter Freude
err分享
err收藏
Identified Serotonergic Modulatory Neurons Have Heterogeneous Synaptic Connectivity within the Olfactory System of Drosophila
err2017-06-28
err0
errOAAI
errKaylynn E. Coates; Adam T. Majot; Xiaonan Zhang; Cole T. Michael; Stacy L. Spitzer; Quentin Gaudry; Andrew M. Dacks
err分享
err收藏
Effects of a medetomidine-ketamine combination on Schirmer tear test I results of clinically normal cats
err2016-03-01
err0
PREAI
errSimona Di Pietro; Francesco Macrì; Tiziana Bonarrigo; Elisabetta Giudice; Angela Palumbo Piccionello; Antonio Pugliese
err分享
err收藏
Accuracy of using serum D-dimer for diagnosis of acute intestinal ischemia
err2017-03-01
err0
errOAAI
errDa-Li Sun; Shu-Min Li; Yun-Yun Cen; Qing-Wen Xu; Yi-Jun Li; Yan-Bo Sun; Yu-xing Qi; Yue-Ying Lin; Ting Yang; Li-Ya An; Kun Su; Wei-Ming Li; Peng-Yuan Xu
err分享
err收藏
Effective interventions for reducing diabetes distress: systematic review and meta-analysis
err2015-07-06
err0
errOAAI
errJackie Sturt; Kathryn Dennick; Danielle Hessler; Benjamin M. Hunter; Jennifer Oliver; Lawrence Fisher
err分享
err收藏
学者 查看更多内容