Learning complex predicates for cardinality estimation using recursive neural networks

被引:1
|
作者
Wang, Zhi [1 ]
Duan, Hancong [1 ]
Cheng, Yamin [1 ]
Min, Geyong [2 ]
机构
[1] Univ Elect Sci & Technol China, Chengdu, Sichuan, Peoples R China
[2] Univ Exeter, Exeter, England
关键词
Cardinality estimation; Recursive neural networks; Complex predicates; Sampling;
D O I
10.1016/j.is.2024.102402
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Link Prediction in Complex Networks Using Recursive Feature Elimination and Stacking Ensemble Learning
    Wang, Tao
    Jiao, Mengyu
    Wang, Xiaoxia
    ENTROPY, 2022, 24 (08)
  • [22] Estimation of Electrical Characteristics of Complex Walls Using Deep Neural Networks
    Yasmeen, Kainat
    Ram, Shobha Sundar
    2023 IEEE RADAR CONFERENCE, RADARCONF23, 2023,
  • [23] Recursive Neural Networks for Undirected Graphs for Learning Molecular Endpoints
    Walsh, Ian
    Vullo, Alessandro
    Pollastri, Gianluca
    PATTERN RECOGNITION IN BIOINFORMATICS, PROCEEDINGS, 2009, 5780 : 391 - +
  • [24] Recursive least squares approach to learning in recurrent neural networks
    Parisi, R
    DiClaudio, ED
    Rapagnetta, A
    Orlandi, G
    ICNN - 1996 IEEE INTERNATIONAL CONFERENCE ON NEURAL NETWORKS, VOLS. 1-4, 1996, : 1350 - 1354
  • [25] Learning to Segment Object Candidates via Recursive Neural Networks
    Chen, Tianshui
    Lin, Liang
    Wu, Xian
    Xiao, Nong
    Luo, Xiaonan
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2018, 27 (12) : 5827 - 5839
  • [26] Astrid: Accurate Selectivity Estimation for String Predicates using Deep Learning
    Shetiya, Suraj
    Thirumuruganathan, Saravanan
    Koudas, Nick
    Das, Gautam
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 14 (04): : 471 - 484
  • [27] Submarine maneuvers prediction using recursive neural networks
    Hashen, Hassan Fahmy
    NEUREL 2006: Eight Seminar on Neural Network Applications in Electrical Engineering, Proceedings, 2006, : 73 - 77
  • [28] RECURSIVE-IDENTIFICATION USING FEEDFORWARD NEURAL NETWORKS
    LEVIN, AU
    NARENDRA, KS
    INTERNATIONAL JOURNAL OF CONTROL, 1995, 61 (03) : 533 - 547
  • [29] Demographic Inference on Twitter using Recursive Neural Networks
    Kim, Sunghwan Mac
    Xu, Qiongkai
    Qu, Lizhen
    Wan, Stephen
    Paris, Cecile
    PROCEEDINGS OF THE 55TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2017), VOL 2, 2017, : 471 - 477
  • [30] Predicting Customer Turnover Using Recursive Neural Networks
    Chashmi, Abdullah Jafari
    Rahmati, Vahid
    Rezasoroush, Behrouz
    Alamoti, Masumeh Motevalli
    Askari, Mohsen
    Khalili, Faezeh Heydari
    WIRELESS COMMUNICATIONS & MOBILE COMPUTING, 2021, 2021