首页> 中文期刊> 《软件学报》 >面向MIC协处理器的OLAP外键连接算法

面向MIC协处理器的OLAP外键连接算法

         

摘要

众核架构协处理器Xeon Phi成为新兴的主流高性能计算平台.对于数据库应用而言,内存分析处理是一种计算密集型负载,其性能主要取决于大事实表与维表之间的内存外键连接性能.关注于一种相对于缓存相关的分区哈希连接算法和缓存不相关的无分区哈希连接算法的缓存友好型外键连接算法,以适应Xeon Phi协处理器较小的LLC和高并发线程的特点.通过挖掘OLAP模式中的代理键特征,基于键值匹配的哈希探测操作,可以进一步简化为事实表与维表之间基于主-外键参照完整性约束的代理键参照访问,因此,复杂的哈希表和CPU代价较高的哈希探测操作可以简化为通过映射外键值为代理键向量内存偏移地址的方法对代理向量直接访问.基于代理向量参照访问的外键连接算法,能够简单并高效地应用于Xeon Phi协处理器平台,通过更多的核心和高并发线程来掩盖内存访问延迟.实验中,对传统的哈希连接算法(无分区哈希连接算法和基数分区哈希连接算法)和基于代理向量参照技术的外键连接算法在Xeon E5-2650 v3 10核处理器平台和Xeon Phi 5110P 60核协处理器平台进行性能测试和比较,实验结果给出了主流的内存外键连接算法在不同数据集和不同平台上全面的性能特征.%The emerging many integrated core architecture (MIC) Xeon Phi coprocessor becomes the mainstream platform for high performance computing.For database applications,in-memory analytics requires computation intensive workload in which the in-memory foreign key joins between big fact table and dimension tables dominate the OLAP performance.This paper focuses on a cache-friendly foreign key join with respect to cache-conscious radix partitioning oriented bash join and cache-oblivious no-partitioning hash join to adapt to the small LLC size and massive simultaneous multi-threading mechanism of Xeon Phi coprocessor.By exploiting the characteristic of surrogate key in OLAP schema,the key matching oriented hash probing can be further simplified as surrogate key referencing between fact table and dimension tables with PK-FK reference constraint,so that the complex hash table and CPU cycle consuming hash probing can be simplified as directly referencing surrogate vector by mapping foreign key to offset address of surrogate vector.The surrogate vector referencing oriented foreign key join is simple and efficient to be implemented for Xeon Phi coprocessor for more cores,and also offers massive simultaneous multi-threading mechanism to overlap memory access latency.In experiments,the surrogate vector referencing foreign key join algorithm and traditional hash join algorithms (NPO and PRO) are compared on both Xeon E5-2650 v3 10-core CPU platform and Xeon Phi 5 ll0P 60-core platform,the experimental results provide a comprehensive perspective for how the mainstream in-memory foreign key join algorithms perform with different datasets on different platforms.

著录项

  • 来源
    《软件学报》 |2017年第3期|490-501|共12页
  • 作者

    张宇; 张延松; 陈红; 王珊;

  • 作者单位

    中国气象局国家卫星气象中心;

    北京 100081;

    数据工程与知识工程教育部重点实验室(中国人民大学);

    北京 100872;

    中国人民大学信息学院;

    北京 100872;

    中国人民大学中国调查与数据中心;

    北京 100872;

    数据工程与知识工程教育部重点实验室(中国人民大学);

    北京 100872;

    中国人民大学信息学院;

    北京 100872;

    数据工程与知识工程教育部重点实验室(中国人民大学);

    北京 100872;

    中国人民大学信息学院;

    北京 100872;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 程序设计、软件工程;
  • 关键词

    内存OLAP; 外键连接; 代理键; 代理键参照;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号