Wednesday, August 20, 2008

V$STATNAME

Oracle 11gR1

V$STATNAME displays decoded statistic names for the statistics shown in the V$SESSTAT and V$SYSSTAT tables.

On some platforms, the NAME and CLASS columns contain additional operating system-specific statistics.

Column

Datatype

Description

STATISTIC#

NUMBER

Statistic number

Note: Statistics numbers are not guaranteed to remain constant from one release to another. Therefore, you should rely on the statistics name rather than its number in your applications.

NAME

VARCHAR2(64)

Statistic name

CLASS

NUMBER

A number representing one or more statistics classes. The following class numbers are additive:

· 1 - User

· 2 - Redo

· 4 - Enqueue

· 8 - Cache

· 16 - OS

· 32 - Real Application Clusters

· 64 - SQL

· 128 - Debug

STAT_ID

NUMBER

Identifier of the statistic

Note:

1.

select * from V$STATNAME;

STATISTIC#

NAME

CLASS

STAT_ID

0

logons cumulative

1

2666645286

1

logons current

1

3080465522

2

opened cursors cumulative

1

85052502

3

opened cursors current

1

2301954928

4

user commits

1

582481098

5

user rollbacks

1

3671147913

6

user calls

1

2882015696

7

recursive calls

1

2656001462

Oracle dynamic performance views

No comments:

Post a Comment