TraHist: Fast and Accurate Cardinality Estimation for Trajectory Data (Extended Version)
Yujeong Jo, Incheol Baek, Changbeom Shim, Yon Dohn Chung
Key points
From the paper's conclusion- Experiments on large-scale real-world datasets show that TraHist reduces estimation error by over 20x relative to the strongest competing estimator in query regimes where trajectory fragmentation is a dominant source of estimation error, while maintaining sub-millisecond query latency and competitive construction cost.
Abstract
Cardinality estimation is fundamental for query optimization in database systems. Histogram-based estimators are widely used for their simplicity and efficiency but rely on point-centric partitioning that assumes record independence. This assumption breaks in trajectory data, where records from the same moving object show strong spatiotemporal dependencies. Conventional axis-aligned histograms therefore fragment trajectories across partition boundaries, leading to overestimation through duplicate counting. This error reflects a structural limitation of partition boundaries that are misaligned with trajectory-induced density patterns. To this end, we propose TraHist, a histogram-based estimator approximating density-aligned partitioning via efficient grid-based propagation. TraHist builds density-adaptive rectilinear buckets to preserve trajectory continuity and local density coherence while keeping histogram efficiency. Experiments on large-scale real-world datasets show that TraHist reduces estimation error by over 20x relative to the strongest competing estimator in query regimes where trajectory fragmentation is a dominant source of estimation error, while maintaining sub-millisecond query latency and competitive construction cost.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MultiCard: Multiple Attribute Cardinality Estimation via Deep LearningarXiv · 2026
- SWatcher+: A Holistic Approach to Deploying Learned Cardinality Estimators in a Dynamic SettingarXiv · 2026
- Reliability-Aware Refinement of High-Resolution Human Mobility Origin-Destination Tables under Sparsity and SuppressionarXiv · 2026
- Building An Integrated Vector Database System in PostgreSQLarXiv · 2026
- Multi-granularity spatiotemporal flow patternsGeoInformatica · 2026
- Real-Time Trajectory Publishing in Mobile Crowdsensing Under Local Differential Privacy.Entropy (Basel, Switzerland) · 2026