Skip to content

An accurate cardinality estimation using Recursive Neural Networks

Notifications You must be signed in to change notification settings

naymaraq/SQL-Cardinality-Estimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL-Cardinality-Estimation

An accurate cardinality estimation using Recursive Neural Networks

Cardinality estimation is a key component in query optimization. To choose the best executing plan, the query optimizer should precisely estimate the selectivity of a SQL predicate -- the number of rows in relation selected by the predicate without actual execution.

Model Architecture

Getting started

To train a model run following

python3 -m benchmark.models.treernn.train

To reproduce paper results look at this

python3 -m benchmark.evaluation.eval

Reference

If you found this code useful, please cite the following paper:

paper

About

An accurate cardinality estimation using Recursive Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages