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

Can a primary key contain more than one columns?

2 Answers  


what is the scenario where you take the database to NoArchivelog mode?

0 Answers  


How different is ms access and oracle?

0 Answers  


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

1 Answers   Oracle,


How to empty your oracle recycle bin?

0 Answers  


What happens to the current transaction if a ddl statement is executed?

0 Answers  


How do I recompile a procedure in oracle?

0 Answers  


what is the syntax of CREATE command?

8 Answers  


I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

0 Answers   Cisco,


What is the maximum number of triggers that can be applied to a single table?

0 Answers  


what is difference between sql plus and sql*plus? (not sql and sql plus).

0 Answers  


What is oracle datasource?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)