arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.08532cs.DBcs.PF
收藏

基于磁盘的列存储中的混合物化

Hybrid Materialization in a Disk-Based Column-Store

Evgeniy Klyuchikov, Elena Mikhailova, George Chernishev

AI总结:

本文针对分布式磁盘列存储提出混合物化模型,可同时操作位置和值,突破现有物化策略限制,并在 PosDB 上基于 TPC-H 查询验证其性能比延迟和超延迟物化快近两倍。

摘要:

在面向列的查询处理中,物化策略决定何时将轻量级位置(行 ID)转换为元组。它是列存储架构的重要组成部分,因为它定义了所支持的查询计划类别,从而影响整体系统性能。本文继续研究分布式基于磁盘的列存储的物化策略。我们首先展示现有方法在若干情况下对系统性能造成根本性限制的案例。然后,为了解决这些问题,我们提出一种新的混合物化模型。混合物化的主要特征是能够同时操作位置和值。这样,查询引擎可以灵活地结合所有现有策略的优势,并支持一类新的查询计划。此外,混合物化允许查询引擎灵活地定制各个属性的物化策略。我们描述了在列式系统中如何实现混合物化的设想。作为示例,我们使用 PosDB——一个分布式、基于磁盘的列存储。我们介绍了必要的数据结构、混合算子的内部机制,并描述了此类算子的代数。基于该实现,我们在基于 TPC-H 查询的多个场景中评估了延迟物化、超延迟物化和混合物化策略的性能。实验表明,混合物化比同类策略快近两倍,同时提供了更灵活的查询模型。

英文摘要:

In column-oriented query processing, a materialization strategy determines when lightweight positions (row IDs) are translated into tuples. It is an important part of column-store architecture, since it defines the class of supported query plans, and, therefore, impacts the overall system performance. In this paper we continue investigating materialization strategies for a distributed disk-based column-store. We start with demonstrating cases when existing approaches impose fundamental limitations on the resulting system performance. Then, in order to address them, we propose a new hybrid materialization model. The main feature of hybrid materialization is the ability to manipulate both positions and values at the same time. This way, query engine can flexibly combine advantages of all the existing strategies and support a new class of query plans. Moreover, hybrid materialization allows the query engine to flexibly customize the materialization policy of individual attributes. We describe our vision of how hybrid materialization can be implemented in a columnar system. As an example, we use PosDB~ -- a distributed, disk-based column-store. We present necessary data structures, the internals of a hybrid operator, and describe the algebra of such operators. Based on this implementation, we evaluate performance of late, ultra-late, and hybrid materialization strategies in several scenarios based on TPC-H queries. Our experiments demonstrate that hybrid materialization is almost two times faster than its counterparts, while providing a more flexible query model.

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

↑