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

智能电网的DGFIndex:使用具有成本效益的多维范围索引增强Hive

DGFIndex for Smart Grid: Enhancing Hive with a Cost-Effective Multidimensional Range Index

Yue Liu, Songlin Hu, Tilmann Rabl, Wantao Liu, Hans-Arno Jacobsen, Kaifeng Wu, Jian Chen, Jintao Li

摘要:

在智能电网应用中,随着部署的电力智能电表数量的增加,每天都会产生和收集大量有价值的电表数据。为了实现可靠的数据汇集并快速做出业务决策,对海量电表数据进行高吞吐量存储和高性能分析对电网公司至关重要。考虑到Hadoop和Hive系统的高效率、容错和性价比的优势,它们经常被部署为大数据处理的底层平台。然而,在实际的业务用例中,这些数据分析应用程序通常涉及多维范围查询(MDRQ)以及对仪表数据的批量读取和统计。虽然Hive在复杂的数据批量读取和分析方面具有高性能,但它缺乏有效的MDRQ索引技术。在本文中,我们提出了DGFIndex,一个索引结构的蜂巢,有效地支持MDRQ的海量仪表数据。DGFIndex使用网格文件技术将数据空间划分为立方体。与Hive中存储多个维度的所有组合的现有索引不同,DGFIndex只存储立方体的信息。这导致更小的索引大小和更快的查询处理。此外,通过预先计算每个立方体的用户定义聚合,DGFIndex只需要访问边界区域进行聚合查询。综合实验表明,与Hive中已有的索引相比,DGFIndex可以节省大量的磁盘空间;在聚合查询时,DGFIndex的查询速度是Hive和Hadoop中已有索引的2-50倍,在非聚合查询时,DGFIndex的查询速度是Hive和Hadoop中已有索引的2-5倍,在不同的查询选择度下,DGFIndex的查询速度是扫描整个表的2-75倍。

英文摘要:

In Smart Grid applications, as the number of deployed electric smart meters increases, massive amounts of valuable meter data is generated and collected every day. To enable reliable data collection and make business decisions fast, high throughput storage and high-performance analysis of massive meter data become crucial for grid companies. Considering the advantage of high efficiency, fault tolerance, and price-performance of Hadoop and Hive systems, they are frequently deployed as underlying platform for big data processing. However, in real business use cases, these data analysis applications typically involve multidimensional range queries (MDRQ) as well as batch reading and statistics on the meter data. While Hive is high-performance at complex data batch reading and analysis, it lacks efficient indexing techniques for MDRQ. In this paper, we propose DGFIndex, an index structure for Hive that efficiently supports MDRQ for massive meter data. DGFIndex divides the data space into cubes using the grid file technique. Unlike the existing indexes in Hive, which stores all combinations of multiple dimensions, DGFIndex only stores the information of cubes. This leads to smaller index size and faster query processing. Furthermore, with pre-computing user-defined aggregations of each cube, DGFIndex only needs to access the boundary region for aggregation query. Our comprehensive experiments show that DGFIndex can save significant disk space in comparison with the existing indexes in Hive and the query performance with DGFIndex is 2-50 times faster than existing indexes in Hive and HadoopDB for aggregation query, 2-5 times faster than both for non-aggregation query, 2-75 times faster than scanning the whole table in different query selectivity.

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

↑