How to check the performance?

In this forum you can share stuff related to Oracle 11g, 10g, 9i.
Post Reply
siva sankar
Posts: 130
Joined: Sun Mar 11, 2007 1:47 am
Location: India

How to check the performance?

Post 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...
venkat_mel
Posts: 22
Joined: Wed Feb 14, 2007 5:50 pm
Location: Australia

Post by venkat_mel »

hi,

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

thanks,
venkat
2jliu
Posts: 4
Joined: Thu Apr 19, 2007 2:55 am
Location: China

Post 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
santanasan
Posts: 3
Joined: Mon Jun 11, 2007 6:30 am
Location: Botswana

Post 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
Awais.Riaz
Posts: 4
Joined: Tue Jul 03, 2007 5:21 am
Location: Bahrain

Post by Awais.Riaz »

user oralce supplied package dbms_profiler
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests