• Home
  • Search
  • A Cardinality Estimator in Complex Database Systems Based on TreeLSTM
  • Cite Icon2
  • https://doi.org/10.3390/s23177364Copy DOI Icon

A Cardinality Estimator in Complex Database Systems Based on TreeLSTM

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Cardinality estimation is critical for database management systems (DBMSs) to execute query optimization tasks, which can guide the query optimizer in choosing the best execution plan. However, traditional cardinality estimation methods cannot provide accurate estimates because they cannot accurately capture the correlation between multiple tables. Several recent studies have revealed that learning-based cardinality estimation methods can address the shortcomings of traditional methods and provide more accurate estimates. However, the learning-based cardinality estimation methods still have large errors when an SQL query involves multiple tables or is very complex. To address this problem, we propose a sampling-based tree long short-term memory (TreeLSTM) neural network to model queries. The proposed model addresses the weakness of traditional methods when no sampled tuples match the predicates and considers the join relationship between multiple tables and the conjunction and disjunction operations between predicates. We construct subexpressions as trees using operator types between predicates and improve the performance and accuracy of cardinality estimation by capturing the join-crossing correlations between tables and the order dependencies between predicates. In addition, we construct a new loss function to overcome the drawback that Q-error cannot distinguish between large and small cardinalities. Extensive experimental results from real-world datasets show that our proposed model improves the estimation quality and outperforms traditional cardinality estimation methods and the other compared deep learning methods in three evaluation metrics: Q-error, MAE, and SMAPE.

Loading PDF

Similar Papers
  • Research Article
  • Citations27

Forex market forecasting with two-layer stacked Long Short-Term Memory neural network (LSTM) and correlation analysis

  • Jun 30, 2022
  • Journal of Electrical Systems and Information Technology
  • Michael Ayitey Junior +2
  • PDF
  • Research Article

A Strategy of Efficient and Accurate Cardinality Estimation Based on Query Result

  • Aug 01, 2018
  • Xibei Gongye Daxue Xuebao/Journal of Northwestern Polytechnical University
  • Jintao Gao +2
  • Book Chapter
  • Citations2

GACE: Graph-Attention-Network-Based Cardinality Estimator

  • Jan 01, 2021
  • Daobing Zhu +4
  • PDF
  • Research Article
  • Citations83

A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration

  • Jan 15, 2021
  • Data Science and Engineering
  • Hai Lan +2
  • Research Article

Self-adaptive smoothing model for cardinality estimation

  • Nov 11, 2024
  • The Computer Journal
  • Yuming Lin +4
  • Research Article

Machine Learning-Based Inferential Statistics for Query Optimization: A Novel Approach

  • Apr 15, 2025
  • European Journal of Computer Science and Information Technology
  • Manas Sharma
  • Conference Article

Efficient Cardinality Estimation with Query-induced Probability Inference

  • Nov 12, 2025
  • Huashuai Liu +4
  • Research Article
  • Citations7

Personalized Public Policy Analysis in Social Sciences Using Causal-Graphical Normalizing Flows

  • Jun 28, 2022
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Sourabh Balgi +2
  • Preprint Article

A Joint SOC Estimation Method Based on FFRLS-AEKF-LSTM

  • Jul 18, 2025
  • Research Square
  • Min Wei +2
  • Conference Article
  • Citations63

Cardinality estimation using sample views with quality assurance

  • Jun 11, 2007
  • Per-Ake Larson +3
  • Conference Article
  • Citations1

Large Margin Training for Long Short-Term Memory Neural Networks in Neural Language Modeling

  • Aug 19, 2022
  • Zhizhong Ma +3
  • Research Article
  • Citations27

Neural network-based parameter estimation of stochastic differential equations driven by Lévy noise

  • Sep 05, 2022
  • Physica A: Statistical Mechanics and its Applications
  • Xiaolong Wang +4
  • Research Article
  • Citations72

Economy and carbon emissions optimization of different countries or areas in the world using an improved Attention mechanism based long short term memory neural network

  • Jun 16, 2021
  • The Science of the total environment
  • Xiaoyong Lin +4
  • Conference Article

Interpretable AI in OSCC Pathology Imaging

  • Apr 06, 2026
  • Sathiyavathi V +4
  • Research Article
  • Citations5

Quantitative Modeling and Predictive Analysis of Chemical Oxygen Demand in Wastewater Treatment Systems Utilizing Long Short-Term Memory Neural Network

  • Nov 27, 2024
  • Sustainability
  • Xuanzhen Meng +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.