Oracle 视图 V$ASM_VOLUME 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$ASM_VOLUME是一个动态视图,它能查看和监控存储在ASM磁盘中的卷信息。应用程序可以通过该视图来查看由高可用存储管理器(ASM)管理的卷信息,例如卷的个数,卷容量,卷名称等。使用该视图,用户可以查看ASM磁盘组和ASM卷组的相关信息,以及ASM存储(例如振荡器)的状态。
要使用V$ASM_VOLUME视图,首先需要登录,然后使用下面的SQL查询获取信息:
–查看ASM磁盘上的所有卷
SELECT diskgroup_name,volume_name,volume_path,block_size,file_size,volume_status
FROM v$asm_volume;
–查询ASM磁盘组和ASM卷组
SELECT diskgroup_name,redundancy,total_mb,free_mb
FROM v$asm_diskgroup;
–查询ASM振荡器的状态
SELECT *
FROM v$asm_disk_stat;
官方英文解释
In an Oracle Automatic Storage Management (Oracle ASM) instance, V$ASM_VOLUME
displays information about each Oracle ADVM volume.
Column | Datatype | Description |
---|---|---|
|
|
Cluster-wide number assigned to the disk group (composite primary key) |
|
|
Name of the volume |
|
|
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) |
|
|
Size of the volume (in megabytes) |
|
|
Number of the Volume within the disk group (composite primary key) |
|
|
Redundancy type for the volume:
|
|
|
Number of columns in a stripe set |
|
|
Stripe width of the volume (in kilobytes) |
|
|
Indicates whether the volume is enabled ( |
|
|
Volume file number |
|
|
Volume file incarnation number |
|
|
Volume Dirty Region Logging (DRL) file used for mirrored volumes |
|
|
Volume allocation unit (in megabytes) that a volume can be created |
|
|
Optional usage string for the volume |
|
|
OSD path for the volume device |
|
|
Optional mount path string for the volume |
|
|
Region used for allocating primary extents:
|
|
|
Region used for allocating mirrored extents:
|
|
|
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 PRIMARY_REGION
and MIRROR_REGION
columns are no longer meaningful.
See Also:
Oracle Automatic Storage
Management Administrator’s Guide for additional information about using views to display Oracle ASM information