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 logical backup in oracle?

0 Answers  


Can we create index on views?

19 Answers   CTS, Syntel, TCS,


What is Database Trigger ?

1 Answers  


Is oracle a programming language?

0 Answers  


Oracle

0 Answers   ABC, Genpact, HUI, Oracle,






Hi, I want table structure shown below. How can i create this ? Num Name Address Addr1 Addr2 I want Addr1 and Addr2 under Address column. How can i achive this ? Is it possible ?

2 Answers   IBM,


what is difference between where clause and having clause?

13 Answers  


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

0 Answers  


Why should I use oracle database?

0 Answers  


Which Department has MOST NUMBER of employees?

8 Answers   IBM, LeadSquared, Mastek,


What is oracle rowcount?

0 Answers  


Is oracle an operator?

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)