Oracle 视图 V$ASM_DISKGROUP 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$ASM_DISKGROUP用于查看Automatic Storage Management(ASM)磁盘组的信息。这是一个动态视图,该视图中只有ASM实例启动时会显示数据。
用法:
在Oracle数据库会话中,通过以下语句查看磁盘组信息:
SELECT * FROM V$ASM_DISKGROUP;
官方英文解释
V$ASM_DISKGROUP
displays one row for every Oracle Automatic Storage Management (Oracle ASM) disk group discovered by the Oracle ASM instance on the node.
Column | Datatype | Description |
---|---|---|
|
|
Cluster-wide number assigned to the disk group (primary key) |
|
|
Name of the disk group |
|
|
Physical block size (in bytes) |
|
|
This column represents the logical sector size value of the disk group in bytes. This is the smallest possible I/O that can be done in this disk group. Any I/O smaller than the logical sector size will cause an assert in the code. If the value of the |
|
|
Oracle ASM metadata block size (in bytes) |
|
|
Size of the allocation unit (in bytes) |
|
|
State of the disk group relative to the instance:
|
|
|
Redundancy type for the disk group:
|
|
|
Total capacity of the disk group, excluding that of quorum disks (in megabytes) |
|
|
Unused capacity of the disk group (in megabytes) |
|
|
Number of used megabytes in the hot region |
|
|
Number of used megabytes in the cold region |
|
|
Amount of space that is required to be available in a given disk group in order to restore redundancy after one or more disk failures. The amount of space displayed in this column takes mirroring effects into account. |
|
|
Amount of free space that can be safely utilized taking mirroring into account and yet be able to restore redundancy after a disk failure |
|
|
Number of disks in the disk group that are currently offline |
|
|
Minimum software version required for an Oracle ASM instance to mount this disk group |
|
|
Minimum software version required for a database instance to use files in this disk group |
|
|
Indicates whether the disk contains voting files ( |
|
|
The ID of the container to which the data pertains. Possible values include:
For this view, the value is always |
Footnote 1 Intelligent Data Placement is desupported starting with Oracle Database 21c. As a result, the individual values for the HOT_USED_MB
and COLD_USED_MB
columns are not meaningful. However, the sum of the HOT_USED_MB
and COLD_USED_MB
values represents the total number of used megabytes in the disk group.
Note:
The GROUP_NUMBER
, TOTAL_MB
, and FREE_MB
columns are only meaningful if the disk group is mounted by the instance. Otherwise, their values will be 0
.
See Also:
Oracle Automatic Storage
Management Administrator’s Guide for additional information about using views to display Oracle ASM information