一种基于成本的大数据物化存储格式
A Cost-based Storage Format Selector for Materialization in Big Data Frameworks
摘要:
现代大数据框架(如Hadoop和Spark)允许多个用户同时进行大规模分析。通常,用户会为他们的分析任务部署数据密集型工作流(DIW)。不同用户的这些DIW共享许多公共部分(即50-80%),这些公共部分可以被具体化以在将来的执行中重用。物化提高了DIW的整体处理时间,也节省了计算资源。用于具体化的当前解决方案通过使用固定的数据格式在分布式文件系统(DFS)上存储数据。然而,一个固定的选择可能不是每种情况下的最佳选择。例如,众所周知,不同的数据分段策略(即,水平、垂直或混合)根据后续操作的访问模式表现得更好或更差。在本文中,我们提出了一种基于成本的方法,有助于在任何情况下决定最合适的存储格式。一个通用的基于成本的存储格式选择器框架,考虑到三个碎片化策略。然后,我们使用我们的框架来实例化特定Hadoop数据格式(即SequenceFile,Avro和Parquet)的成本模型,并使用实际用例对其进行测试。我们的解决方案平均比SequenceFile加速33%,比Avro加速11%,比Parquet加速32%,总体而言,它提供了高达25%的性能增益。
英文摘要:
Modern big data frameworks (such as Hadoop and Spark) allow multiple users to do large-scale analysis simultaneously. Typically, users deploy Data-Intensive Workflows (DIWs) for their analytical tasks. These DIWs of different users share many common parts (i.e, 50-80%), which can be materialized to reuse them in future executions. The materialization improves the overall processing time of DIWs and also saves computational resources. Current solutions for materialization store data on Distributed File Systems (DFS) by using a fixed data format. However, a fixed choice might not be the optimal one for every situation. For example, it is well-known that different data fragmentation strategies (i.e., horizontal, vertical or hybrid) behave better or worse according to the access patterns of the subsequent operations. In this paper, we present a cost-based approach which helps deciding the most appropriate storage format in every situation. A generic cost-based storage format selector framework considering the three fragmentation strategies is presented. Then, we use our framework to instantiate cost models for specific Hadoop data formats (namely SequenceFile, Avro and Parquet), and test it with realistic use cases. Our solution gives on average 33% speedup over SequenceFile, 11% speedup over Avro, 32% speedup over Parquet, and overall, it provides upto 25% performance gain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。