arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23289cs.DB
收藏

面向工作负载的云数据仓库增量重新聚类

Workload-Aware Incremental Reclustering in Cloud Data Warehouses

Tsinghua University(清华大学);Carnegie Mellon University(卡内基梅隆大学);Snowflake Inc.(Snowflake公司);Shanghai Qi Zhi Institute(上海人工智能实验室)

Yipeng Liu, Renfei Zhou, Jiaqi Yan, Huanchen Zhang

AI总结:

本文提出WAIR算法,通过识别关键边界微分区实现高效的数据修剪,提升查询性能并降低重新聚类成本。

摘要:

现代云数据仓库将数据存储在微分区中,并依赖元数据(如zonemaps)实现查询处理中的高效数据修剪。在大规模表中维护数据聚类对于有效数据修剪至关重要。现有自动聚类方法缺乏动态云环境中连续数据摄入和变化工作负载所需的灵活性。本文倡导将重新聚类策略与聚类键选择分离。我们引入了位于查询范围边界的边界微分区概念。然后,我们提出了WAIR算法,一种面向工作负载的算法,用于识别和重新聚类对修剪效率最关键的关键边界微分区。WAIR在完全排序表布局方面接近最优的查询性能,但其重新聚类成本显著降低,具有理论上限。我们进一步将该算法实现为原型重新聚类服务,并在标准基准(TPC-H、DSB)和真实工作负载上进行评估。结果表明,与现有解决方案相比,WAIR提高了查询性能并降低了总体成本。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑