首页 > 数据库技术 > 详细

Script:SQL调优健康检查脚本

时间:2015-10-17 00:29:04      阅读:337      评论:0      收藏:0      [点我收藏+]

Script:SQL调优健康检查脚本

http://www.askmaclean.com/archives/sql-tuning-health-check-script.html

以下脚本可以用于收集SQL调优的相关信息,包括统计信息、优化器参数等。

When executed for one SQL_ID, this script generates an HTML report with the results of a set of health-checks around the one SQL statement provided. Health-checks are performed over:

  • CBO Statistics for schema objects accessed by the one SQL statement being analyzed
  • CBO Parameters
  • CBO System Statistics
  • CBO Data Dictionary Statistics
  • CBO Fixed-objects Statistics

 

下载sqlhc脚本

 

示例输出HTML:

 

技术分享

 

关注dbDao.com的新浪微博

Script:SQL调优健康检查脚本

原文:http://www.cnblogs.com/Leo_wl/p/4886648.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!