ALECE An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads (Extended)

Posted on May 14, 2024   1 minute read ∼ Filed in  : 

Query-driven and data-driven methods

  • query-driven: it basically train a model to predict CE.
  • data-driven: it basically learn a join distribution among columns and then sampling bsaed on that, and use the sampled data to estimate the basic staisitcs. Default optimizer will then use those statistics to estimate CE.

Existing work:

  • Cannot combine both query-driven and data-driven methods.
  • Cannot handle dynamic workloads that mix queries and data manipulation statements including inserts, deletes and updates.

ALECE is less sensitive to data changes

Techniques





END OF POST




Tags Cloud


Categories Cloud




It's the niceties that make the difference fate gives us the hand, and we play the cards.