吉林大学学报(理学版)

• 计算机科学 • 上一篇    下一篇

基于多核环境的并行性双向枚举连接

陈永恒, 左祥麟   

  1. 吉林大学 计算机科学与技术学院, 长春 130012
  • 收稿日期:2013-01-24 出版日期:2014-01-26 发布日期:2014-03-05
  • 通讯作者: 左祥麟 E-mail:zuoxl2111@mails.jlu.edu.cn

Parallel TwoWay Enumeration Join Based onMulticores Environment

CHEN Yongheng, ZUO Xianglin   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2013-01-24 Online:2014-01-26 Published:2014-03-05
  • Contact: ZUO Xianglin E-mail:zuoxl2111@mails.jlu.edu.cn

摘要:

基于多核处理器, 结合自底向上和自顶向下两种算法, 提出一种图遍历驱动的双向优化算法, 该算法充分利用两种遍历算法的优点, 并发挥多核环境的优势, 实现了最优查询计划的高性能并行构建, 解决了并行双向枚举连接问题. 实验结果表明, 该算法的性能优于已有算法, 可明显提高数据库查询速度.

关键词: 多核, 查询优化, 链接枚举, 动态规划

Abstract:

Multijoin query optimization is one of the key problems in database searching. As multicores replace traditional single processor because of the advantages of their high performance and low energy consumption, researches on bottomup dynamic query parallel algorithms have become popular. However,  the advantages of topdown dynamic query algorithm  can not be replaced by bottomup dynamic query algorithms, such as cut algorithm. Based on bottomup and topdown algorithms, this paper proposes a graph traversal twoway optimization algorithm  on the multicores system. The proposed approach makes full use of the  advantages of both topdown and bottomup algorithms, gives full play to multicores environments, realizes high performance parallel construction of optimal query plans, thus resolves parallel twoway enumeration join problem. Experimental result shows that the proposed algorithm outperforms existing algorithms, and can effectively increase the speed of database query.

Key words: multicores, query optimization, joinenumeration, dynamic programming

中图分类号: 

  • TP316