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 run the anonymous block again?

595


what are the advantages of running a database in archive log mode?

1729


How to use existing values in update statements using oracle?

545


What is the difference between a user and a schema in oracle?

556


How to define an oracle cursor variable?

563






What are a cluster and non-cluster index?

572


What is an oracle recycle bin?

548


How to export data with a field delimiter?

581


What is a Garbage Collection? and what is full recursive Garbage collection?

2385


What do you understand by database schema and what does it hold?

590


What is a database table in oracle?

572


What is the difference between postgresql and oracle?

503


What are the types of trigger in oracle?

573


How can we view last record added to a table?

597


What is BBED in Oracle?

683