Page 1 of 1

How to check the performance?

Posted: Tue Apr 03, 2007 6:39 am
by siva sankar
Hi All,

I have created one procedure,this procedure contains 20 sql queries.
When i am trying to execute it will takes more time.So i want to findout which query will takes more time to execute?
How to resolve this problem?
How to findout which query will takes longer time to execute?

Please help me on this...

Posted: Mon Apr 23, 2007 8:07 pm
by venkat_mel
hi,

you can use
set timing on;
in sql
to check how much time one query is taking.

thanks,
venkat

Posted: Thu May 17, 2007 12:27 am
by 2jliu
[quote]Hi All,

I have created one procedure,this procedure contains 20 sql queries.
When i am trying to execute it will takes more time.So i want to findout which query will takes more time to execute?
How to resolve this problem?
How to findout which query will takes longer time to execute?

Please help me on this...



<i><div align="right">Originally posted by siva sankar

Posted: Mon Jun 11, 2007 6:38 am
by santanasan
COST = time
set autotrace on or get trace working in a session .
zap the shared pool to get correct timings / cost of each statement.
rgds,
santosh

Posted: Tue Jul 03, 2007 5:35 am
by Awais.Riaz
user oralce supplied package dbms_profiler