首页    期刊浏览 2024年11月24日 星期日
登录注册

文章基本信息

  • 标题:Optimizing Large Query by Simulated Annealing Algorithm Based On Graph-Based Approach
  • 本地全文:下载
  • 作者:Chen, Yongheng ; Zuo, Wanli ; He, Fengling
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2011
  • 卷号:6
  • 期号:9
  • 页码:1655-1663
  • DOI:10.4304/jsw.6.9.1655-1663
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:In general the ordering of join-operations is quite sensitive and has a devastatingly negative effect on the efficiency of the DBMS. Scheufele and Moerkotte proved that join-ordering is NP-complete in the general case [1]. The dynamic programming algorithm has a worst case running time, thus for queries with more than 10 joins, it becomes infeasible. To resolve this problem, random strategies are used. Simulated annealing is an intelligent algorithm of developing very fast. In this paper, we introduce the traditional simulated annealing algorithm through discussing its theory and process, analyzes its shortcoming in detail, simple describe influence of key parameters to simulated annealing algorithm and provided feasible improvement. Especially, in order to avoid the deficiency resulted by the neighbors of state, and make the query optimization support complex non-inner join, the improved algorithm gives a semantics expression of query and a method of constructing the connected join pairs. Experimental results show that the improved algorithm outperforms the original algorithm in terms of both output quality and running time.
  • 关键词:Simulated annealing;Query optimization;Join-Order;Randomized Algorithms
国家哲学社会科学文献中心版权所有