arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.17229cs.DB
收藏

Corra:相关性感知的列压缩

Corra: Correlation-Aware Column Compression

Hanwen Liu, Mihail Stoian, Alexander van Renen, Andreas Kipf

AI总结:

本文提出 Corra 相关性感知水平列编码,利用跨列关联突破单列压缩瓶颈,并在 TPC-H、LDBC、DMV 和 Taxi 数据集上显著降低压缩大小。

摘要:

随着现代云部署的数据湖中开放存储格式(如 Parquet)的兴起,列编码方案重新引起了广泛关注。这并不令人意外——随着数据量增长,降低块存储(如 S3)上的存储成本,以及减轻云数据库多租户内存缓冲区中的内存压力,变得越来越重要。然而,单列编码方案在可实现的压缩大小方面已经进入平台期。我们认为,这是由于忽视了跨列相关性。例如,考虑列对(city,zip_code):通常一个城市只有几十个唯一邮政编码。如果适当利用这一信息,就可以显著减少后一列的空间消耗。在本工作中,我们脱离仅使用单列编码方案压缩数据的既有路径,引入若干所谓的“水平”相关性感知编码方案。我们在著名的 TPC-H 的 lineitem、LDBC 的 message、DMV 和 Taxi 数据集上展示了它们相对于单列编码方案的优势。对于 lineitem 的 receiptdate,我们的相关性感知编码方案相比单列方案最多节省 58.3% 的压缩大小;对于 DMV 的 zip_code 节省 53.7%;对于 Taxi 的 total_amount 节省 85.16%。

英文摘要:

Column encoding schemes have witnessed a spark of interest with the rise of open storage formats (like Parquet) in data lakes in modern cloud deployments. This is not surprising -- as data volume increases, it becomes more and more important to reduce storage cost on block storage (such as S3) as well as reduce memory pressure in multi-tenant in-memory buffers of cloud databases. However, single-column encoding schemes have reached a plateau in terms of the compression size they can achieve. We argue that this is due to the neglect of cross-column correlations. For instance, consider the column pair ($\texttt{city}$, $\texttt{zip_code}$). Typically, cities have only a few dozen unique zip codes. If this information is properly exploited, it can significantly reduce the space consumption of the latter column. In this work, we depart from the established path of compressing data using only single-column encoding schemes and introduce several what we call $\textit{horizontal}$, correlation-aware encoding schemes. We demonstrate their advantages over single-column encoding schemes on the well-known TPC-H's $\texttt{lineitem}$, LDBC's $\texttt{message}$, DMV, and Taxi datasets. Our correlation-aware encoding schemes save up to 58.3% of the compressed size over single-column schemes for $\texttt{lineitem}$'s $\texttt{receiptdate}$, 53.7% for DMV's $\texttt{zip_code}$, and 85.16% for Taxi's $\texttt{total_amount}$.

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

↑