select name, state from v$asm_diskgroup
此视图在asm实例和db 实例中都能查询到。在这两个视图中看到的state是不一样的。
asm实例 中state 返回MOUNTED
db 实例 中state 返回
CONNECTED
对此视图的解释:
In an Automatic Storage Management instance, V$ASM_DISKGROUP
displays one row for every disk group discovered by the Automatic Storage Management instance. In a database instance, V$ASM_DISKGROUP
displays one row for every Automatic Storage Management disk group mounted by the local Automatic Storage Management instance.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1021.htm#REFRN30171
|
State of the disk group relative to the instance:
|