arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.01120cs.DB
收藏

LST-Bench:在云中对日志结构表进行基准测试

LST-Bench: Benchmarking Log-Structured Tables in the Cloud

Jesús Camacho-Rodríguez, Ashvin Agrawal, Anja Gruenheid, Ashit Gosalia, Cristian Petculescu, Josep Aguilar-Saborit, Avrilia Floratou, Carlo Curino, Raghu Ramakrishnan

AI总结:

本文提出 LST-Bench 框架及配套指标与基准包,用于系统评估云端 Delta Lake、Iceberg、Hudi 等日志结构表与处理引擎的协同性能。

摘要:

数据处理引擎越来越多地利用分布式文件系统来实现可扩展且具有成本效益的存储。尽管 Apache Parquet 列式格式已成为数据存储和检索的流行选择,但 Parquet 文件的不可变性使其难以满足当代分析工作负载中频繁更新的需求。日志结构表(Log-Structured Tables,LST),例如 Delta Lake、Apache Iceberg 和 Apache Hudi,为需要数据可变性的场景提供了一种替代方案,在高效更新与列式存储优势之间取得平衡。它们提供事务、时间旅行和模式演进等功能,增强了可用性并支持来自多个引擎的访问。此外,Apache Spark 和 Trino 等引擎可以经过配置,利用 LST 提供的优化和控制来满足特定业务需求。传统基准测试和工具不足以评估这些进展给存储层带来的变革性变化,因为它们无法让我们衡量这种新环境中设计和优化选择的影响。在本文中,我们提出了一种建立在现有基准测试之上的新型基准测试方法和指标,旨在系统地评估 LST。我们开发了一个名为 LST-Bench 的框架,通过定制的基准测试包,促进对 LST 与数据处理引擎协同运作的有效探索和评估。一个包由反映目标工作负载的使用模式混合而成;LST-Bench 使定义广泛的使用模式并将其组合成一个包变得容易,并且为完整性我们包含了一个基线包。我们的评估证明了我们的框架和基准测试包在跨多种环境提取有价值洞见方面的有效性。LST-Bench 的代码已开源,可在 https://github.com/microsoft/lst-bench/ 获取。

英文摘要:

Data processing engines increasingly leverage distributed file systems for scalable, cost-effective storage. While the Apache Parquet columnar format has become a popular choice for data storage and retrieval, the immutability of Parquet files renders it impractical to meet the demands of frequent updates in contemporary analytical workloads. Log-Structured Tables (LSTs), such as Delta Lake, Apache Iceberg, and Apache Hudi, offer an alternative for scenarios requiring data mutability, providing a balance between efficient updates and the benefits of columnar storage. They provide features like transactions, time-travel, and schema evolution, enhancing usability and enabling access from multiple engines. Moreover, engines like Apache Spark and Trino can be configured to leverage the optimizations and controls offered by LSTs to meet specific business needs. Conventional benchmarks and tools are inadequate for evaluating the transformative changes in the storage layer resulting from these advancements, as they do not allow us to measure the impact of design and optimization choices in this new setting. In this paper, we propose a novel benchmarking approach and metrics that build upon existing benchmarks, aiming to systematically assess LSTs. We develop a framework, LST-Bench, which facilitates effective exploration and evaluation of the collaborative functioning of LSTs and data processing engines through tailored benchmark packages. A package is a mix of use patterns reflecting a target workload; LST-Bench makes it easy to define a wide range of use patterns and combine them into a package, and we include a baseline package for completeness. Our assessment demonstrates the effectiveness of our framework and benchmark packages in extracting valuable insights across diverse environments. The code for LST-Bench is open-sourced and is available at https://github.com/microsoft/lst-bench/ .

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

↑