troubleshooting Question

Using DBMS_Profiler or other techniques for procedure profiling - oracle11g

Avatar of paeddy
paeddy asked on
Oracle Database
4 Comments3 Solutions700 ViewsLast Modified:
Hi,
    I have a stored procedure which is quite huge.
It gives results but it tends to take some time.
I am trying to see if I can profile it. I have never done this profiling for tuning before.
Can someone explain me how I can profile the procedure?
I want to see which block in the procedure plsql, its taking time..

currently, I used like below:
storedprocedure()
variables....
x integer;
begin
x:=dbms_profiler.start_profiler('Test Profiler');

stored procedure plsql code..

x:=dbms_profiler.flush_data;
x:=dbms_profiler.stop_profiler;
end;
/

After using like this, I am having difficulty how to approach further.. after executing the procedure..


Thanks
Aeddy.
ASKER CERTIFIED SOLUTION
Swadhin Ray

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros