Create The World With Creativity
 
Welcome, Guest:Log in | Register | Information Center | Languages | Search | Tags | FAQs | Lite
There was a problem with the request. Check your permission or contact with administrator.




Your Ad Here

Grade this thread

Quote Favorites Report
Starter:  Topic: : How to Use DBMS_PROFILER to Tune PL/SQL
R.Wang 
5 Stars
 

Info: Moderator Offline Male
From: Not Specified 
Posts: 329  
Digest 0  
Credits: 59
Money: 1746 $OraclePoint
Registered on 2007-04-20
ProfileProfile BuddyBuddy PMPM Reply Reply QuotesQuotes   1 F 
How to Use DBMS_PROFILER to Tune PL/SQL



When there is a significant gap between user elapsed time and SQL processing elapsed time, and there is PL/SQL code involved, the PL/SQL Profiler
[url=http://www.oraclepoint.com]NgHXaQ2fnOraclePointNwA8bYgSa[/url]

becomes a very useful tool.  It helps to identify the lines of PL/SQL code which are taking longer to process. 

For example, if a transaction which uses PL/SQL Libraries (packages, procedures, functions or triggers) executes in one hour of user elapsed time, and
[url=http://www.oraclepoint.com]zu7zEeO6AOraclePointhtfU7CbUd[/url]

reviewing the results of the Trace Analyzer (Note 224270.1) or TKPROF only 10 minutes of the elapsed time can be explained with SQL commands being executed, then, by using the PL/SQL Profiler, a line-by-line of the executed PL/SQL application code is reported, including the total execution time for each line of code, and how many times each of these lines was executed.

The guide to use DBMS_PROFILER here gives us a quick idea to implement it. By the way, Oracle Metalink Note: 243755.1 shows how to use include HTML spool file to generate result report.
[url=http://www.oraclepoint.com]sL0VZvWWNOraclePointv4gLtQHiV[/url]



[url=http://www.oraclepoint.com]mxQmU0Ip6OraclePointLHPpzboL1[/url]


Tags: tips utility 

2008-09-24 13:29
  Grade this thread



Similar Threads Forum Author Replies Views Last Post
My Practical Approach to Create Domain Index
Oracle Case Study R.Wang 0 438  2010-05-13 15:45
My Practical Approach to Create Domain Index
Oracle Database Administration R.Wang 0 231  2010-05-13 15:44
Compact DBA tool - Odat
Oracle Tools, Utilities & Scripts myDBA 1 1101  2010-04-12 11:15
Oracle's Block Browser and Editor tool
Oracle Tools, Utilities & Scripts outility 0 910  2009-10-09 12:45
Google Has Open Sourced Page Speed for Web Development
Enterprise Computing and Architecture R.Wang 0 1448  2009-06-10 15:06

  Quick Response
Title:
Content:




Upload: Disable
Username:
Password:
  



Recommend to a friend Print Article Mode





 


Powered by BMForum Powered by BMForum 2007 5.6 RSS Feed  
Processed in 0.12761187 second(s),8 queries  
Top