注释:
PLSQL Developer Profiler是一个非常强大的plsql 性能优化工具,可获取已执行的每行代码,时间、次数的消耗情况。
可通过plsql developer工具中的test window 在调用存储过程的过程中获得;
可通过plsql developer工具中的test window 在调用存储过程的过程中获得;
①Create Profiler report
![28602568_1464334748aMU4.png](http://img.blog.itpub.net/blog/attachment/201605/27/28602568_1464334748aMU4.png)
②然后就开始调用存储过程...
![28602568_1464334749gec1.png](http://img.blog.itpub.net/blog/attachment/201605/27/28602568_1464334749gec1.png)
③执行完毕后查看profiler部分按照total_time 就可以看到耗时最大的部分了...再针对unit、line 对象名称/行号 进行逐步优化.
![28602568_1464334749NkMl.png](http://img.blog.itpub.net/blog/attachment/201605/27/28602568_1464334749NkMl.png)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28602568/viewspace-2108007/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28602568/viewspace-2108007/