potentialpaper

Is it Bigger than a Breadbox: Efficient Cardinality Estimation for Real World Workloads

Zixuan Yi, Sami Abu-El-Haija, Teja Vemparala, Yawen Wang, Yannis Chronis, Yu Gan, Michael Burrows, Carsten Binnig, Bryan Perozzi, Ryan Marcus, Fatma Ozcan

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. DB engines produce efficient query plans by relying on cost models, that estimate cardinalities of subqueries constituting the input query. Standard cardinality estimators rely on heuristics, with magic numbers tuned to improve average performance on benchmarks. Empirically, their estimation error increases with query complexity. Recently, learning-based neural estimators have been proposed. However, they are not adopted in-practice, due to added operational complexity. Training or tuning generally requires extracting or simulating training data, from database contents or sample queries. Rather than learning one monolithic network, we are motivated to capture the common practical scenario: query patterns repeatedly re-appear soon after their first introduction. We propose LITECARD, that online-learns many (simple) regressors, one per subquery pattern. The regressor corresponding to a pattern can be randomly-accessed using hash of directed acyclic graph encoding the subquery. LITECARD instantiates from cold-start, imposing negligible overhead, while competing with SoTA neural approaches on error metrics. More importantly, implementing LITECARD into PostgreSQL reduces query execution time by 30% of popular JOB-lite workload on IMDb, while incurring negligible overhead (37 seconds) for online learning. By achieving notable accuracy and runtime improvements over standard methods, and drastically reduces operational costs compared to neural estimators, LITECARD pushes Pareto frontiers balancing execution speedups and overhead time.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…