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 条
  • [1] Learning ontology alignments using recursive neural networks
    Chortaras, A
    Stamou, G
    Stafylopatis, A
    ARTIFICIAL NEURAL NETWORKS: FORMAL MODELS AND THEIR APPLICATIONS - ICANN 2005, PT 2, PROCEEDINGS, 2005, 3697 : 811 - 816
  • [2] Learning to play Go using recursive neural networks
    Wu, Lin
    Baldi, Pierre
    NEURAL NETWORKS, 2008, 21 (09) : 1392 - 1400
  • [3] Networks cardinality estimation using order statistics
    Lucchese, Riccardo
    Varagnolo, Damiano
    2015 AMERICAN CONTROL CONFERENCE (ACC), 2015, : 3810 - 3817
  • [4] RENC: Recursive Estimation of Node Characteristics using topological structure of complex networks
    Sugiyama, Kouhei
    Ohsaki, Hiroyuki
    Imase, Makoto
    2008 7TH ASIA-PACIFIC SYMPOSIUM ON INFORMATION AND TELECOMMUNICATION TECHNOLOGIES, 2008, : 154 - +
  • [5] Learning secure modulation using complex neural networks
    Mohammed, Hesham
    Saha, Dola
    BIG DATA IV: LEARNING, ANALYTICS, AND APPLICATIONS, 2022, 12097
  • [6] Image interpolation using convolutional neural networks with deep recursive residual learning
    Kwok-Wai Hung
    Kun Wang
    Jianmin Jiang
    Multimedia Tools and Applications, 2019, 78 : 22813 - 22831
  • [7] Image interpolation using convolutional neural networks with deep recursive residual learning
    Hung, Kwok-Wai
    Wang, Kun
    Jiang, Jianmin
    MULTIMEDIA TOOLS AND APPLICATIONS, 2019, 78 (16) : 22813 - 22831
  • [8] Recursive Autoconvolution for Unsupervised Learning of Convolutional Neural Networks
    Knyazev, Boris
    Barth, Erhardt
    Martinetz, Thomas
    2017 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2017, : 2486 - 2493
  • [9] Learning to Rap Battle with Bilingual Recursive Neural Networks
    Wu, Dekai
    Addanki, Karteek
    PROCEEDINGS OF THE TWENTY-FOURTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI), 2015, : 2524 - 2530
  • [10] Learning incremental syntactic structures with recursive neural networks
    Costa, F.
    Frasconi, P.
    Lombardo, V.
    Soda, G.
    International Conference on Knowledge-Based Intelligent Electronic Systems, Proceedings, KES, 2000, 2 : 458 - 461