网站大量收购独家精品文档,联系QQ:2885784924

SQL多表连接查询优化的相关研究..ppt

  1. 1、本文档共48页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
多表连接查询优化的相关研究 吕 彬 2009.3.5 motivation Agenda Multi-table join overview Heuristic and randomized optimization for the join ordering problem Michael Steinbrunn,et al, The VLDB Journal (1997) 6: 191–208 Attribute correlation detection BHUNT: Automatic Discovery of Fuzzy Algebraic Constraints in Relational Data Paul G. Brown Peter J. Haas , Proceedings of the 29th VLDB Conference, 2003 CORDS: Automatic Discovery of Correlations and Soft Functional Dependencies Ihab F. Ilyas,Volker Markl, et al, SIGMOD 2004, June 13–18, 2004, COCA: More Accurate Multidimensional Histograms out of More Accurate Correlations Detection CAO Wei1, QIN Xiongpai, WANG Shan,WAIM2008 Star join Star Gazing from atop your DB2 z/OS Database Server Terry Purcell, et al, Intelligent Optimizer Star join revisited: Performance internals for cluster architectures Josep Aguilar-Saborit, Data Knowledge Engineering 63 (2007) 995–1013 Heuristic and randomized optimization for the join ordering problem Choosing join type based on cost Solution space for the join ordering problem Join ordering strategies Quantitative analysis Conclusion Choosing join type based on cost Cost models Nested loop join Sort-merge join Hash join Solution space for the join ordering problem Left-deep trees n! ways to allocate n base relations to the tree’s leaves good solutions because of exploiting the cost-reducing pipelining technique Bushy trees an adaptable plan enumeration strategy linear graphs (n3 ? n)/6 star graphs (n?1) 2n?2 Join ordering strategies Deterministic algorithms heuristic or exhaustive search Randomized algorithms Define a set of moves which constitute edges between the different solutions of the solution space performs a random walk along the edges according to certain rules, terminating as soon as no more applicable moves exist or a time limit is exceeded Genetic algorithms make use of a randomized search strategy very similar to biological evolution Hybrid algorithms combine the str

文档评论(0)

zilaiye + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档