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.

Answers were Sorted based on User's Feedback



We have one Package(which has many function/procedures, SQL quires etc). Now we need to check, wh..

Answer / 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

We have one Package(which has many function/procedures, SQL quires etc). Now we need to check, wh..

Answer / ammar takieddin

By using DBMS_PROFILER or DBMS_UTILITY.GET_TIME

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is a Tablespace?

5 Answers  


Can you have more than one content canvas view attached with a window ?

0 Answers   Oracle,


Which is better Oracle or MS SQL? Why?

2 Answers   Bally Technologies,


pls explain connect by prior with example and its real time use

3 Answers  


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

0 Answers  






Is the After report trigger fired if the report execution fails ?

0 Answers   Oracle,


What is the scope of a local variable?

0 Answers  


Will you be able to store pictures in the database?

0 Answers  


Explain about the analyze command in oracle?

0 Answers  


What are the restrictions on external table columns?

0 Answers  


How to sort output in descending order in oracle?

0 Answers  


How do you get nicely formatted results from an oracle procedure that returns a reference cursor?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)