首页 | 本学科首页   官方微博 | 高级检索  
     检索      

改进的半连接查询优化算法
引用本文:钱磊,于洪涛.改进的半连接查询优化算法[J].燕山大学学报,2012,36(2):178-182.
作者姓名:钱磊  于洪涛
作者单位:燕山大学信息科学与工程学院,河北秦皇岛,066004
摘    要:在多关系连接查询中,普通半连接查询方法没有优化子查询的半连接顺序,导致查询代价较高,为此,本文提出了一种改进的半连接查询优化算法.首先,将多关系连接组织成较小代价的类树形结构,然后利用半连接操作对处于根节点处的关系进行最大化缩减,并以此为基础利用PERF位向量对其他节点进行缩减,最后回收缩减关系进行连接操作.模拟实验表明改进的半连接查询优化算法能够有效地缩减查询关系,降低查询代价.

关 键 词:多关系连接查询优化  半连接  类树形结构

An improved algorithm with semi-join query optimization
QIAN Lei , YU Hong-tao.An improved algorithm with semi-join query optimization[J].Journal of Yanshan University,2012,36(2):178-182.
Authors:QIAN Lei  YU Hong-tao
Institution:(College of Information Science and Engineering,Yanshan University,Qinhuangdao,Hebei 066004,China)
Abstract:In multi-join query,the ordinary semi-join query method does not optimize the order of sub-query’s semi-join,which results in high query cost.An improved semi-join query optimization algorithm is proposed to solve this question in this paper.First,the connections of relations are tissued to small cost simulated tree structure.Second,the relation is reduced which is at the root node of simulated tree structure absolutely,then other nodes are reduced by using PERF bit vector based on root node.Finally,the reduced relations are recycled to join together.The simulated experiment shows that the evolutionary semi-join query optimization algorithm can reduce the query relations,lower the query cost effectively.
Keywords:multi-join query optimization  semi-join  simulated tree structure
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号