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

使用汇总统计量为大数据工作负载选择近似分区

Approximate Partition Selection for Big-Data Workloads using Summary Statistics

Kexin Rong, Yao Lu, Peter Bailis, Srikanth Kandula, Philip Levis

摘要:

许多大数据集群将数据存储在大型分区中,这些分区支持以粗略的分区级粒度进行访问。因此,通过行级采样的近似查询处理是低效的,通常需要读取许多分区。在这项工作中,我们寻求快速和近似地回答查询,通过读取数据分区的一个子集,并结合部分答案在一个加权的方式,而不修改数据布局。我们说明了如何使用一组预先计算的汇总统计数据来有效地执行此查询处理,这些统计数据为分区和权重的选择提供了信息。我们开发了新的手段,使用的统计数据来评估分区的相似性和重要性。我们在几个数据集和数据布局上的实验表明,与均匀分区采样相比,为了实现相同的相对误差,我们的技术提供了从2.7 $\times$到$70\times$的分区读取数量减少,并且每个分区存储的统计数据需要少于100 KB。

英文摘要:

Many big-data clusters store data in large partitions that support access at a coarse, partition-level granularity. As a result, approximate query processing via row-level sampling is inefficient, often requiring reads of many partitions. In this work, we seek to answer queries quickly and approximately by reading a subset of the data partitions and combining partial answers in a weighted manner without modifying the data layout. We illustrate how to efficiently perform this query processing using a set of pre-computed summary statistics, which inform the choice of partitions and weights. We develop novel means of using the statistics to assess the similarity and importance of partitions. Our experiments on several datasets and data layouts demonstrate that to achieve the same relative error compared to uniform partition sampling, our techniques offer from 2.7$\times$ to $70\times$ reduction in the number of partitions read, and the statistics stored per partition require fewer than 100KB.

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

↑