ITPub博客

首页 > 数据库 > Oracle > v$mystat

v$mystat

原创 Oracle 作者:sunwgneuqsoft 时间:2007-12-01 09:19:22 0 删除 编辑

V$MYSTAT

This view contains statistics on the current session.

[@more@]

V$MYSTAT

This view contains statistics on the current session.

Column

Datatype

Description

SID

NUMBER

ID of the current session

STATISTIC#

NUMBER

Number of the statistic

VALUE

NUMBER

Value of the statistic

V$SESSTAT

This view lists user session statistics. To find the name of the statistic associated with each statistic number (STATISTIC#), query the V$STATNAME view.

Column

Datatype

Description

SID

NUMBER

Session identifier

STATISTIC#

NUMBER

Statistic number (identifier)

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.

VALUE

NUMBER

Statistic value

V$SYSSTAT

This view lists system statistics. To find the name of the statistic associated with each statistic number (STATISTIC#), query the V$STATNAME view.

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 class. The following class numbers are additive:

  • 1 - User
  • 2 - Redo
  • 4 - Enqueue
  • 8 - Cache
  • 16 - OS
  • 32 - Real Application Clusters
  • 64 - SQL
  • 128 - Debug

VALUE

NUMBER

Statistic value

V$STATNAME

This view 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

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8394333/viewspace-987133/,如需转载,请注明出处,否则将追究法律责任。

上一篇: V$ARCHIVE_PROCESSES
下一篇: V$PARAMETER
请登录后发表评论 登录
全部评论
  • 博文量
    56
  • 访问量
    758445