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: when do you use v$statname?

RE: when do you use v$statname?

From: Jeremiah Wilton <jwilton_at_speakeasy.net>
Date: Wed, 26 Nov 2003 09:39:25 -0800
Message-ID: <F001.005D7E82.20031126093925@fatcity.com>


On Wed, 26 Nov 2003, Hately, Mike (LogicaCMG) wrote:

> v$statname is a lookup table for the statistic# that appears in v$sesstat
> and v$sysstat. You use it in most queries on those tables unless you're
> named Tanel and have memorised the statistic numbers. =)

Remember Oracle likes to change around all the statistic#s with every major release. So if you write (or memorize) something that relies on the statistic# being permanently associated with a particular statistic, it will break (give results for the wrong statistic) as soon as you upgrade.

--
Jeremiah Wilton
http://www.speakeasy.net/~jwilton


> -----Original Message-----
> Sent: 26 November 2003 13:24
> To: Multiple recipients of list ORACLE-L
>
> This view seems to be a smaller subset of v$sysstat? When is it useful?
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jeremiah Wilton INET: jwilton_at_speakeasy.net Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Wed Nov 26 2003 - 11:39:25 CST

Original text of this message

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