Journal of Computer Applications ›› 2016, Vol. 36 ›› Issue (2): 348-352.DOI: 10.11772/j.issn.1001-9081.2016.02.0348

Previous Articles     Next Articles

Parallel cube computing in Spark

SA Churila, ZHOU Guoliang, SHI Lei, WANG Liuwang, SHI Xin, ZHU Yongli   

  1. School of Control and Computer Engineering, North China Electric Power University, Baoding Hebei 071003, China
  • Received:2015-09-15 Revised:2015-09-22 Online:2016-02-10 Published:2016-02-03

Spark环境下并行立方体计算方法

萨初日拉, 周国亮, 时磊, 王刘旺, 石鑫, 朱永利   

  1. 华北电力大学 控制与计算机工程学院, 河北 保定 071003
  • 通讯作者: 萨初日拉(1992-),男(蒙古族),内蒙古通辽人,硕士研究生,主要研究方向:云计算、数据挖掘。
  • 作者简介:周国亮(1978-),男,河北保定人,副教授,博士,主要研究方向:智能电网、联机分析处理;时磊(1991-),男,黑龙江鹤岗人,硕士研究生,主要研究方向:计算机视觉、模式识别;王刘旺(1988-),男,安徽安庆人,博士研究生,主要研究方向:电力系统大数据处理;石鑫(1988-),男,河北邯郸人,硕士研究生,主要研究方向:人工智能;朱永利(1963-),男,河北衡水人,教授,博士生导师,博士,CCF高级会员,主要研究方向:人工智能、电力调度自动化系统。
  • 基金资助:
    河北省自然科学基金资助项目(F2014502069)。

Abstract: In view of the poor real-time response capability of traditional OnLine Analytical Processing (OLAP) when processing big data, how to accelerate computation of data cubes based on Spark was investigated, and a memory-based distributed computing framework was put forward. To improve parallelism degree and performance of Bottom-Up Construction (BUC), a novel algorithm for computation of data cubes was designed based on Spark and BUC, referred to as BUCPark (BUC on Spark). Moreover, to avoid the expansion of iterative data cube in memory, BUCPark was fruther improved to LBUCPark (Layered BUC on Spark) which could take full advantage of reused and shared memory mechanism. The experimental results show that LBUCpark outperforms BUC and BUCPark algorithms in terms of computing performace, and it is capable of computing data cube efficiently in big data era.

Key words: Spark, OnLine Analytical Processing(OLAP), data cube, Bottom-Up Construction(BUC)

摘要: 针对传统联机分析处理(OLAP)处理大数据时实时响应能力差的问题,研究基于分布式内存计算框架Spark加速的数据立方体计算方法,设计基于Spark内存集群的自底向上构造(BUC)算法——BUCPark,来提高BUC的并行度和大数据适应能力。在此基础上,为避免内存中迭代的立方体单元膨胀,基于内存重复利用和共享的思想设计改进的BUCPark算法——LBUCPark。实验结果表明:LBUCPark算法性能优于BUC算法和BUCPark算法,能够胜任大数据背景下的快速数据立方体计算任务。

关键词: Spark, 联机分析处理, 数据立方体, 自底向上构造

CLC Number: