oracle asm raid区别,ASM与RAID中的条带化及镜像

Note:330398.1

How does ASM work with RAID where striping and mirroring are already built-in?

There is really no single answer to this question since it depends on business requirement and budget (cost, availability, performance & utilization). The followings are some trade offs that needs to be considered to compare hardware mirroring-stripping and ASM.

不能简单通过一句话来回答这个问题,因为答案取决于业务需求及预算(成本,可用性,性能及应用),下面是一些权衡点,通过它们去对比硬体镜像条带(RAID)和ASM .

ASM & RAID striping are complimentary to each other. When a SAN or disk array provides striping, that can be used in a manner which is complementary to ASM.

ASM和RAID条带化各有优势,相互补充。 当SAN或磁盘阵列提供条带化时,在某种程度上来讲,可以作为ASM的一种补充。

Oracle ideally suggest that the RAID stripe size at the SAN layer should match ASM stripe size (1MB by default). However, if the above is not possible (1MB stripe at storage level),then a stripe size of 256K/128K/512k should be ok. As long ASM 1MB stripe size is a multiple of hardware stripe size, I/O is aligned at hardware level. Otherwise, a single I/O can be split into multiple disks and cause multiple read writes and excessive i/o operations.

理论上,Oracle建议,在SAN层的RAID条带尺寸应该和ASM条带尺寸匹配(默认为1M). 但是如果不能匹配 (即在storage层1MB条带),那么stripe 尺寸大小是256K/128K/512k也是可以的,目前ASM 1M的条带尺寸是硬件条带尺寸的数倍,I/O在硬件层是均衡的。否则,单个I/O可能被分配到多个磁盘上,导致多次读写和过多的I/O操作。

ASM mirroring has a small overhead on the server (specially on write performance) where external hardware mirroring performs the function on the storage controller.With external mirroring, you need to reserve disks as hot spares.  With ASM, hot spares are not necessary and therefore, more efficient use of the storage capacity. ASM reduces the chance of mis-configuation and human error because of failure groups. With external RAID, you have to carefully plan your redundant controllers and paths which requires higher admin overhead.

ASM mirroring 在那些实现storage控制器上外部硬件mirror功能的server上会有少量负荷(特别是写性能上),使用外部镜像,你需要预留磁盘作为hot spares, 使用ASM,  hot spare是不需要的,因此,storage有更好的存储空间使用率。 因为failure groups,  ASM降低误配置和人为失误的几率,如果使用外部RAID, 你不得不仔细规划你的冗余控制器和路径,这些都需要更高的管理成本 。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值