Robust Plan Selection using Cardinality Distribution Models

Efficient query optimization requires an accurate estimation of cardinalities. Various techniques to improve cardinality estimation all share a common limitation: by classic definition, cardinality estimates are single-point values that drive the generation and selection of candidate execution plans. Relying on a wrong estimate can significantly impact the efficiency of query execution and therefore overall database performance. Rarely has the uncertainty of estimators been assessed or incorporated into the plan selection. Rather than solely relying on a single value estimate, we seek to quantify the risk associated with using each estimate, aiming to avoid those suspected to be wrong, unreliable or generally not trustworthy. To this end, we reformulate the cardinality estimation problem, introduce a novel class of learned cardinality estimators fit for this refined formulation, and explore their application in a robust plan selection strategy by implementing a simple query optimizer.

Publication Details

Journal
Gesellschaft für Informatik (GI)
Published
2025-01-01
DOI
https://doi.org/10.18420/btw2025-65
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Robust Plan Selection using Cardinality Distribution Models

Gesellschaft für Informatik (GI)
Advanced Database Systems and Queries
article

Robust Plan Selection using Cardinality Distribution Models

article en

Abstract

Efficient query optimization requires an accurate estimation of cardinalities. Various techniques to improve cardinality estimation all share a common limitation: by classic definition, cardinality estimates are single-point values that drive the generation and selection of candidate execution plans. Relying on a wrong estimate can significantly impact the efficiency of query execution and therefore overall database performance. Rarely has the uncertainty of estimators been assessed or incorporated into the plan selection. Rather than solely relying on a single value estimate, we seek to quantify the risk associated with using each estimate, aiming to avoid those suspected to be wrong, unreliable or generally not trustworthy. To this end, we reformulate the cardinality estimation problem, introduce a novel class of learned cardinality estimators fit for this refined formulation, and explore their application in a robust plan selection strategy by implementing a simple query optimizer.

Gesellschaft für Informatik (GI)
Openalex Percentile: Top 53%
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.