Oracle 视图 V$ASM_VOLUME_STAT 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图V$ASM_VOLUME_STAT用于收集ASM磁盘组中卷的统计信息。这个视图提供了每个ASM卷的I/O统计(读数据块数,写数据块数),以及每个ASM卷上每个等待类型的统计信息(如联机重建缓冲池,成功等待)。

V$ASM_VOLUME_STAT表中的信息可用于监视和优化ASM卷的I/O性能,而且信息也可以用于诊断ASM磁盘组中发生的问题,比如哪些卷出现了联机重建缓冲池的等待,可以帮助DBA快速定位问题。

使用V$ASM_VOLUME_STAT分析ASM磁盘组I/O性能时,可以查看下面几个数据项:
V$ASM_VOLUME_STAT.IO_SIZE:记录了各个ASM卷上读和写I/O大小,最重要的数据项之一;
V$ASM_VOLUME_STAT.READ_BLOCKS:记录了每个ASM卷上读取的数据块数目;
V$ASM_VOLUME_STAT.WRITE_BLOCKS:记录了每个ASM卷上写出的数据块的数目;
V$ASM_VOLUME_STAT.TIME_WAITED:记录了每个等待类型的累计等待时间,可以用于确定哪些等待花费了比较多的时间。

如果要使用V$ASM_VOLUME_STAT分析I/O性能,我们可以按照如下方式:

1、检查READ_BLOCKS和WRITE_BLOCKS:如果发现某个ASM卷上近期读写操作数量剧增,则可能是系统出现了I/O拥塞,此时需要深入分析原因。

2、检查I/O_SIZE:一般来说,读写操作中I/O大小越小,就可能存在性能问题。所以,如果发现I/O大小特别小,则可能是由于I/O拆分不当造成的,此时可以考虑修改I/O拆分策略。

3、检查TIME_WAITED:如果发现某个ASM卷上,某一类等待花费比较多的时间,则需要分析那类操作在系统中产生的现象,来寻找终止这类操作的理由。

官方英文解释

In an Oracle Automatic Storage Management (Oracle ASM) instance, V$ASM_VOLUME_STAT displays information about statistics for each Oracle ADVM volume.

Column Datatype Description

GROUP_NUMBER

NUMBER

Cluster-wide number assigned to the disk group (composite primary key)

VOLUME_NAME

VARCHAR2(30)

Name of the volume

COMPOUND_INDEX

NUMBER

A 32-bit number consisting of a disk group number in the high-order 8 bits and a volume number in the low-order 24 bits (for efficient access to the view)

VOLUME_NUMBER

NUMBER

Number of the Volume within the disk group (composite primary key)

READS

NUMBER

Total number of read requests for this volume

WRITES

NUMBER

Total number of write requests for this volume

READ_ERRS

NUMBER

Total number of failed read I/O operations for this volume

WRITE_ERRS

NUMBER

Total number of failed write I/O operations for this volume

READ_TIME

NUMBER

Total I/O time (in seconds) for read requests for this volume

WRITE_TIME

NUMBER

Total I/O time (in seconds) for write requests for this volume

BYTES_READ

NUMBER

Total number of bytes read for this volume

BYTES_WRITTEN

NUMBER

Total number of bytes written for this volume

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

For this view, the value is always 0.

See Also:

Oracle Automatic Storage
Management Administrator’s Guide
for additional information about using views to display Oracle ASM information


数据运维技术 » Oracle 视图 V$ASM_VOLUME_STAT 官方解释,作用,如何使用详细说明