• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (2): 104-106.

• 论文 • 上一篇    下一篇

一个并行查询优化器的设计与实现

徐丽萍 金雄兵   

  • 出版日期:2007-02-01 发布日期:2010-06-01

  • Online:2007-02-01 Published:2010-06-01

摘要:

并行查询优化器的目标是缩减庞大的计划搜索空间,获得优化的查询规划。为此,并行实时数据库PRTD-BASE查询优化器针对无共享结构(SN),充分考虑通信开销,采用两阶段  优化方法,依据代价估计模型先对查询树进行基于代价估计的顺序优化,然后利用启发式规则对顺序优化的查询计划进行并行化,充分利用了多处理机的并行性,获得了较快的查 询响应时间。

关键词: 并行查询优化 两阶段优化 代价估计 启发式规则

Abstract:

The key problem is how to prune the big search space in order to get an optimized query plan for query parallel optimization.Therefore,based on the sh ared-nothing structure and taking communications into account with cost estimation,a two-phase optimization strategy is used to optimize the query tree  sequentially in the first phase and to parallelize the sequential optimization tree in the second phase by heuristic rules in the PRTDBASE optimizer.Mul  ti-processor parallelism is utilized and faster response time is obtained.

Key words: (parallel query optimization,two-phase optimization,cost estimation,heuristic rule)