We help IT Professionals succeed at work.
Get Started

Using DBMS_Profiler or other techniques for procedure profiling - oracle11g

paeddy
paeddy asked
on
699 Views
Last Modified: 2012-12-28
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.
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 3 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE