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 to create a table index?

568


How to see the table columns used in an index?

596


What is query image?

586


How to retrieve the count of updated rows?

576


How a database is related to tablespaces?

580






How to initialize variables with default values?

636


Is postgres faster than oracle?

561


How would you best determine why your MVIEW couldnt FAST REFRESH?

1438


how may join possible between (requisition with purchase order)

1699


Explain oracle’s server parameter file.

567


How do you tell what your machine name is and what is its IP address?

1516


How to define a record variable to store a table row?

579


What is where clause in oracle?

534


Explain constraining triggers.

598


How to select some rows from a table in oracle?

598