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: v$sqlarea update frequency

RE: v$sqlarea update frequency

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Fri, 12 Jan 2007 16:21:33 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45059E27ED@NT15.oneneck.corp>


Yes, as K mentioned - many of the stats (e.g. disk_reads) aren't updated until the end of the call. For more up-to-date stats, you can monitor v$sesstat for the sid that is currently executing the sql, e.g.  

select sid from v$session where sql_hash_value = <hash_value for query you're interested in>;  

Then select the stats of interest from v$sesstat for the sid(s) returned from the above query.  

Regards,
Brandon

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jan 12 2007 - 17:21:33 CST

Original text of this message

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