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 the difference between sharding and partitioning?

0 Answers  


What is tns name?

0 Answers  


How to use subqueries in the from clause in oracle?

0 Answers  


What are the execution control statements?

0 Answers  


What is the meaning of recursive hints in oracle?

0 Answers  






candidate key is subset of super key but not vice-verse explain

0 Answers  


Explain coalesce function?

0 Answers  


How to view all columns in an existing table?

0 Answers  


1.how to extract the second highest salary from emp table having sal as a column which contains the salary of all employee of an organisation.

6 Answers  


Describe varray?

0 Answers  


6. Display the client name and order date for all orders using the traditional method.

0 Answers   Wipro,


List the various oracle database objects?

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)