您的位置:首页 > 博客中心 > 数据库 >

PLSQL_PLSQL调优健康检查脚本SQLHC(案例)(通过运行脚本输出SQL Performance的HTML报表)

时间:2022-03-13 23:33

2014-08-23 BaoXinjian

gxlsystem.com,布布扣一、摘要


网上流传的一个用以查询单一SQL查询的效率并导出为HTML报表的脚本,功能与DBMS_PROFILER类似

通过session查询SQL_ID,只有运行脚本,导出为HTML报表

该SQL脚本下载地址:http://files.cnblogs.com/eastsea/sqlcheck.zip

 

gxlsystem.com,布布扣二、案例 - 使用该脚本数据SQL Performance HTML报表


1. 输入需查询SQL

gxlsystem.com,布布扣

2. 上传脚本

gxlsystem.com,布布扣

3. 查询参数SQL_ID

gxlsystem.com,布布扣

4. 调用脚本,并输出为HTML报表

gxlsystem.com,布布扣

 5. 查看HTML报表

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

gxlsystem.com,布布扣

 

********************作者: 鲍新建********************

gxlsystem.com,布布扣

 

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

参考:https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=2065290088690137&id=243755.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=ni8g1bex6_126

热门排行

今日推荐

热门手游