DualTable:一种用于Hive更新优化的混合存储模型
DualTable: A Hybrid Storage Model for Update Optimization in Hive
摘要:
Hive是Hadoop生态系统中最成熟和流行的数据仓库工具,提供类似SQL的接口。它在许多互联网公司中得到成功应用,并显示出其对传统行业大数据处理的价值。然而,智能电网应用中的企业大数据处理系统通常需要复杂的业务逻辑,并涉及许多数据操作操作,如更新和删除。Hive无法在保持高查询性能的同时提供足够的支持。Hive使用Hadoop分布式文件系统(HDFS)存储,不能有效地实现数据操作,而Hive在HBase上虽然可以支持更快的数据操作,但查询性能很差。有一个基于Hive的项目issue Hive-5317来支持更新操作,但在Hive的最新版本中还没有完成。由于该ACID兼容扩展在HDFS上采用相同的数据存储格式,因此无法解决更新性能问题。在本文中,我们提出了一个混合存储模型称为DualTable,它结合了高效的HDFS的流式读取和HBase的随机写入能力。DualTable上的Hive提供了更好的数据操作支持,同时保留了查询性能。在TPC-H数据集和实际智能电网数据集上的实验表明,在执行更新和删除操作时,DualTable上的Hive比Hive快10倍。
英文摘要:
Hive is the most mature and prevalent data warehouse tool providing SQL-like interface in the Hadoop ecosystem. It is successfully used in many Internet companies and shows its value for big data processing in traditional industries. However, enterprise big data processing systems as in Smart Grid applications usually require complicated business logics and involve many data manipulation operations like updates and deletes. Hive cannot offer sufficient support for these while preserving high query performance. Hive using the Hadoop Distributed File System (HDFS) for storage cannot implement data manipulation efficiently and Hive on HBase suffers from poor query performance even though it can support faster data manipulation.There is a project based on Hive issue Hive-5317 to support update operations, but it has not been finished in Hive's latest version. Since this ACID compliant extension adopts same data storage format on HDFS, the update performance problem is not solved. In this paper, we propose a hybrid storage model called DualTable, which combines the efficient streaming reads of HDFS and the random write capability of HBase. Hive on DualTable provides better data manipulation support and preserves query performance at the same time. Experiments on a TPC-H data set and on a real smart grid data set show that Hive on DualTable is up to 10 times faster than Hive when executing update and delete operations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。