Workload-Aware Incremental Reclustering in Cloud Data Warehouses

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Yipeng, Zhou, Renfei, Yan, Jiaqi, Zhang, Huanchen
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910055048151040
author Liu, Yipeng
Zhou, Renfei
Yan, Jiaqi
Zhang, Huanchen
author_facet Liu, Yipeng
Zhou, Renfei
Yan, Jiaqi
Zhang, Huanchen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_23289
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Workload-Aware Incremental Reclustering in Cloud Data Warehouses
Liu, Yipeng
Zhou, Renfei
Yan, Jiaqi
Zhang, Huanchen
Databases
H.2.4; H.2.2
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.
title Workload-Aware Incremental Reclustering in Cloud Data Warehouses
topic Databases
H.2.4; H.2.2
url https://arxiv.org/abs/2602.23289