We have one Package(which has many function/procedures, SQL
quires etc).
Now we need to check, which query or procedure is taking lot
of time in that Package. ?
How do we do it.

Answer Posted / bupesh

There are various ways to do this :
1) We can run individual objects (Procedures and Functions)
to get the timestamps and then work on the one with slow
performance.
2) We can also get the trace of the entire Package and
identify the slow objects.
3) We can use DBMS_APPLICATION_INFO to gather the
statistics at runtime using V$SESSION

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are extents allocated to a segment?

578


How to display employee records who gets more salary than the average salary in the department?

597


What is the difference between view and materialized view in Oracle?

608


How do I escape a reserved word in oracle?

630


How to use "for" statements in oracle?

592






Can you tell me how to add new column in existing views?how?How is possible?

937


How to use subqueries with the in operator using oracle?

612


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

1880


What is the oracle implicit cursor?

596


Explain the types of exception?

654


How to use values from other tables in update statements using oracle?

568


How to best split csv strings in oracle 9i?

589


Difference between hot backup vs. Cold backup?

606


How to create a table index in oracle?

659


How do I connect to oracle database?

535