Workload-Aware Incremental Reclustering in Cloud Data Warehouses
Yipeng Liu, Renfei Zhou, Jiaqi Yan, Huanchen Zhang
Tsinghua University · Carnegie Mellon University
Abstract
Modern cloud data warehouses store data in micro-partitions and rely on metadata (e.g., zonemaps) for efficient data pruning during query processing. Maintaining data clustering in a large-scale table is crucial for effective data pruning. Existing automatic clustering approaches lack the flexibility required in dynamic cloud environments with continuous data ingestion and evolving workloads. This paper advocates a clean separation between reclustering policy and clustering-key selection. We introduce the concept of boundary micro-partitions that sit on the boundary of query ranges. We then present WAIR, a workload-aware algorithm to identify and recluster only boundary micro-partitions most critical for pruning efficiency. WAIR achieves near-optimal (with respect to fully sorted table layouts) query performance but incurs significantly lower reclustering cost with a theoretical upper bound. We further implement the algorithm into a prototype reclustering service and evaluate on standard benchmarks (TPC-H, DSB) and a real-world workload. Results show that WAIR improves query performance and reduces the overall cost compared to existing solutions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SWatcher+: A Holistic Approach to Deploying Learned Cardinality Estimators in a Dynamic SettingarXiv · 2026
- WaRP: Workload-Aware Request Planning for Vector Retrieval on Object StoragearXiv · 2026
- Cache Replacement in Direct-Access Cloud OLAP-An Experimental Comparison and Practical GuidancearXiv · 2026
- DiaLSM: Towards Write-Stall-Free Performance via Shard-based LSM-treearXiv · 2026
- CAPSULE: A Storage Prefetcher Harnessing Spatio-Temporal Locality for Cloud-Scale WorkloadsProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026
- GenRewrite: Query Rewriting via Large Language ModelsProceedings of the ACM on Management of Data · 2026