Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Beaking down SQL performance by wait time

RE: Beaking down SQL performance by wait time

From: Jeremiah Wilton <jeremiah_at_ora-600.net>
Date: Thu, 22 Feb 2007 15:40:51 -0800
Message-ID: <021001c756da$e36a4400$0201a8c0@flbp7000a>


In 10g you can use Active Session History (v$active_session_history / dba_hist_active_sess_history) and sum time_waited by sql_id.

Note that use of these views requires purchase of the "performance pack" or some similarly named additional licensing option. Nevertheless, Grid Control/OEM fetches from these views by default.

Prior to 10g you need to use a third party product like Quest Spotlight or Symantec i3 (formerly Veritas, better known to us all as Precise). Neither of these products publish their agent API, so you must rely on their GUIs.

Oracle 10g still does not allow you to correlate timed statistics (resource counters other than waits) to specific SQL statements. You must devise you own clever tools to accomplish such tasks.

Jeremiah Wilton
ORA-600 Consulting
http://www.ora-600.net

-----Original Message-----

From: fmhabash_at_gmail.com

In Oracle, you can beak down the performance by wait type. This wait is described in terms of count and time and their derivatives. Also, you can aggregate these numbers at DB or session level. How do you aggregate these number at the SQL hash level at least for the total number of executions. I searched in the different views and could not find a way on how you do that.

--

http://www.freelists.org/webpage/oracle-l Received on Thu Feb 22 2007 - 17:40:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US