SQL tuning in Oracle

Pra*_*tav 3 sql oracle optimization

Is there any article/link available where I can find examples of SQL tuning(Oracle). It would great if it is explain with example. I need something like existing query, statstics, plan and then suggested query/recommendation and new plan.

I found couple of really good links on google:

  1. http://www.dba-oracle.com/art_sql_tune.htm
  2. http://www.orafaq.com/tuningguide/

However I m looking for real time examples with above mentioned details, which are missing in these articles.

我希望我不要求太多.:-)

dpb*_*ley 6

快捷方式很少 - 为了获得最佳效果:

  1. 购买Jonathan Lewis的"基于成本的Oracle基础知识"的副本
  2. 设置您可以完全控制的本地Oracle数据库
  3. 完成他的例子

本书解释了优化器如何做出决策.

我不确定个人使用的许可影响,但也学习如何使用dbms_sqltune包 - 如果它可以在正常的优化器路径上找到改进的计划,它将生成一个显示差异的报告.你可以通过查看这些信息来获取很多东西.