USABLE_FILE_MB的值代表了总的可用来存储数据的空间,它的值依赖磁盘组的大小,磁盘组的冗余度和REQUIRED_MIRROR_FREE_MB的值,USABLE_FILE_MB的值的计算方法如下: (Total_MB/FG个数/冗余度)* 坏掉最大磁盘组剩余的个数 例如: State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_...
SQL>alter tablespace foo add datafile'+DEMO'size 200m;Tablespace altered.ASM>select name,state,type,total_mb,free_mb,REQUIRED_MIRROR_FREE_MBreq_free,USABLE_FILE_MBuse_mb2from v$asm_diskgroup where name='DEMO';NAMESTATETYPETOTAL_MBFREE_MBREQ_FREEUSE_MB---DEMOMOUNTEDNORMAL1530534255139 在又新增...
简单来说,视图V$ASM_DISKGROUP中的REQUIRED_MIRROR_FREE_MB值代表了如果ASM磁盘或ASM磁盘组出现了故障,要重新满足冗余度的定义,要求有多少的空闲空间。USABLE_FILE_MB的值代表了在满足冗余度之后,还有多少的剩余空间可以用。问题是:ASM怎么计算出这些值的?问题的答案可以通过创建一些不同配置的磁盘组,然后观察...
所以,当Free_MB < Req_mir_free_MB,那么Usable_file_MB肯定是负值,这种情况下磁盘组如果有一个磁盘失效,是不能有效恢复成redundancy的.即处在"不安全"的状态下. 在实际环境中,在发生磁盘故障时,一般都是添加新的存储(或者利用备用的设备),add disk之后再保证它达到失败之前的冗余级别。 所以,Usable_file_MB只...
可以看出来计算公式就是free_mb - required_mirror_free_mb) / N n是副本数量。 sys@YEDB>alter tablespace test add datafile'+TESTDG'size 30g autoextend off; Tablespace altered. grid@com1:/home/grid>asmcmd lsdg State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_...
REQUIRED_MIRROR_FREE_MB and USABLE_FILE_MB in external redundancy disk groups 我们先从创建一个外部冗余的磁盘组开始,这里使用到了我们上面列出的6块盘,每个盘的大小是255MB: ASM> create diskgroup demo external redundancy 2 disk 'ORCL:san01'
ASM> select name, state, type, total_mb, free_mb, required_mirror_free_mb req_free, usable_file_mb use_mb from v$asm_diskgroup where name = 'DEMO'; 我们看到这时REQ_FREE的大小为255M而不是想象中的765M,意味着ASM只预计单块磁盘的大小而不是故障组中的所有磁盘 ...
USABLE_FILE_MB是: 除了mirror之外,考虑到 “当一个disk 嗝屁之后,能对将来的new files 还原为原来的redundancy”这个情况 的剩余空间。 REQUIRED_MIRROR_FREE_MB REQUIRED_MIRROR_FREE_MB indicates the amount of space that must be available in a disk group to restore full redundancy after the worst failu...
The usable free space of a disk group depends on the redundancy, so in 10g Release 2 it uses the USABLE_FILE_MB column of the V$ASM_DISKGROUP_STAT view to indicate usable mirrored free space. This column indicates the amount of free space that can be "safely" utilized taking mirroring ...
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later: ASM Extended Diskgroup Shows 0 for USABLE_FILE_MB and REQUIRED_MIRROR_FREE_MB