- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
A Look under the Hood of CBO - the 10053 Event.pdf
A LOOK UNDER THE HOOD OF CBO: THE 10053 EVENT
A LOOK UNDER THE HOOD OF CBO: THE 10053 EVENT
Wolfgang Breitling, Centrex Consulting Corporation
Have you ever been faced with a SQL statement where you know that if only Oracle would use an index it would
perform so much better? Or not use an index, or use a different driving table, or use a hash join, or, or, or … If you
are a DBA then this is a rhetorical question. Generally, it is just a matter of using the appropriate hint to solve the
problem. However, increasingly DBAs are faced with SQL statements that are generated dynamically by applications,
where the source is inaccessible, or which can not be changed because of licensing or support restrictions. This paper
will shed some light on the decisions the cost based optimizer (CBO) makes when parsing a SQL statement and
choosing an access plan. It will show how the CBO calculates the cost of a plan and some of the rules and factors that
go into these calculations. By extrapolation, if you know how the CBO assigned the cost of a plan, you may be able to
make changes that lead the optimizer to choose a different plan – without the need to make changes to the SQL
statement. While you can not compare the costs of different explain plans, the optimizer does compare the costs of
different plans, and chooses the one with the lowest cost, in its current parse tree! You just don’t see any of the plans
which “lost out”. Unless you activate the 10053 event trace, that is. There you see all the access plans the CBO
evaluated and the costs assigned to them. So, lastly, this paper will act as a guide should you decide to venture into the
jungle of a 10053 event trace yourself.
THE EVENT 10053
Event 10053 details the choices made by the CBO in evaluating the execution path for a query. It externalizes most of
the information that the optimizer uses in generating
您可能关注的文档
- 8212.由浅入深学PHP:基础、进阶与必做300题(附DVD光盘1张).pdf
- 8213.由浅入深学C#:基础、进阶与必做300题(附DVD光盘1张).pdf
- 8217.21天学通JavaScript(第2版)(附DVD光盘1张).pdf
- 8218.21天学通Java Web开发(第2版)(附DVD光盘1张).pdf
- 8219.21天学通PHP(第2版)(附DVD光盘1张).pdf
- 8226.Flash游戏编程基础教程.pdf
- 8235.Dreamweaver CS5中文版标准实例教程(附DVD-ROM光盘1张).pdf
- 8242.FANUC数控宏程序编程技术一本通.pdf
- 8270237ba7dc2d9c334b8409c33c2c4d.doc
- 8289.从设计到印刷·Illustrator CS5平面设计师必读(附DVD光盘1张).pdf
最近下载
- 建筑电气施工方案(完整版).docx VIP
- 湖北省武汉市光谷第一小学小学英语六年级上册期末试题含答案.doc
- 数据库系统基础教程(第3版)课后习题答案.pdf
- 海浦蒙特MTCC-V3-B&V3L-B雅系列电梯一体化控制柜-V1.pdf VIP
- 国开本科《人文英语4》机考题库及答案.docx VIP
- 海浦蒙特COOL100炫系列别墅电梯控制柜用户手册-中-V1.2.pdf VIP
- SH_T 3075-2024《石油化工钢制压力容器材料选用规范》.pdf VIP
- 《地方文化概述》课件.ppt VIP
- 2025年Q2钢结构焊接培训及质量把控能力提升工作总结.pptx VIP
- 叙事节奏与观众体验报告.docx VIP
原创力文档


文档评论(0)