作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (5): 68-70. doi: 10.3969/j.issn.1000-3428.2008.05.024

• 软件技术与数据库 • 上一篇    下一篇

基于贪心算法的Web Services查询优化方案

徐署华,江 文,黄志刚   

  1. (湖南科技职业学院软件学院,长沙 410118)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-03-05 发布日期:2008-03-05

Query Optimization Plan of Web Services Based on Greedy Algorithm

XU Shu-hua, JIANG Wen, HUANG Zhi-gang   

  1. (Institute of Software, Hunan Vocational College of Science and Technology, Changsha 410118)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-03-05 Published:2008-03-05

摘要: 提出一种贪心算法,以最佳方式把查询中所有Web services调用排列到一管线化执行方案中,使所有Web services以最佳并列方式工作,减少整个查询过程的总运行时间,解决以选择-投影-连接方式查询多个Web services的查询优化问题。该优化方案适用于在Web services之间存在任意优先约束的情况。

关键词: Web服务, 查询优化, 管线化, 贪心算法, 瓶颈开销

Abstract: This paper proposes a greedy algorithm to arrange all Web service calls of a query into a pipelined execution plan that optimally exploits parallelism among Web services to minimize the query’s total running time. It solves the basic question: query optimization for select-project-join queries spanning multiple Web services. The optimization plan can be found in the presence of arbitrary precedence constraints among Web services.

Key words: Web services, query optimization, pipelined, greedy algorithm, bottleneck cost

中图分类号: