2008-5-7 13:40
笑看风云淡
新应用上线在存储设备里的规划原则
新应用上线的原则:
顺序写选择Raid5;随机写选择Raid0+1;
顺序写和随机写,不要放在同一个Raid组里;
Oracle system data最好放在Raid0+1里;
Oracle Redo log和Archive log应该放在不同的Raid10组里;
Data Table和Temp Table应放在不同的Raid0+1里;
如允许OS层最好做OS Striping。
[[i] 本帖最后由 笑看风云淡 于 2008-5-7 14:17 编辑 [/i]]
2008-5-7 13:48
wildhorse
Oracle强烈建议Oracle Redo log和Archive log应该放在不同的Raid10组里。:lol
2008-5-7 14:00
炸鸡
我们盘不够,把raid1变raid5了。:L
2008-5-7 14:17
笑看风云淡
[quote]原帖由 [i]wildhorse[/i] 于 2008-5-7 13:48 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=784286&ptid=84174][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
Oracle强烈建议Oracle Redo log和Archive log应该放在不同的Raid10组里。:lol [/quote]
是的,,我这情况是R5,,我改1下
2008-5-7 14:58
pyockee
:handshake
2008-5-7 16:09
wildhorse
[quote]原帖由 [i]笑看风云淡[/i] 于 2008-5-7 14:17 发表 [url=http://www.loveunix.net/redirect.php?goto=findpost&pid=784313&ptid=84174][img]http://www.loveunix.net/images/common/back.gif[/img][/url]
是的,,我这情况是R5,,我改1下 [/quote]
Oracle说的不是全对的。
我刚才说的是反话。:lol
跟Oracle的专家讨论,感觉真磨蹭,说不出理由,就是要求用R10,无奈。。。
2008-5-7 16:54
笑看风云淡
[quote]原帖由 [i]wildhorse[/i] 于 2008-5-7 16:09 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=784391&ptid=84174][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
Oracle说的不是全对的。
我刚才说的是反话。:lol
跟Oracle的专家讨论,感觉真磨蹭,说不出理由,就是要求用R10,无奈。。。 [/quote]
这个主要还是看log数据的使用频繁度
2008-5-7 16:57
mike79
感觉上oracle将盘都看成傻盘......
不考虑存储cache什么的
2008-5-7 20:10
wildhorse
经典语句:你给我一个大盘就可以了,别的就不用管了。:L :L :L
2008-5-7 21:37
小猪
[quote]原帖由 [i]wildhorse[/i] 于 2008-5-7 20:10 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=784471&ptid=84174][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
经典语句:你给我一个大盘就可以了,别的就不用管了。:L :L :L [/quote]
相当经典;P
2008-5-7 22:47
scoola
学习中
2008-5-7 22:50
haomao1879
:lu4: :lu4:
2008-5-8 01:19
老农
RAID5在坏一块盘的情况下的性能。。。。。
2008-5-8 08:50
炸鸡
存储通常有spare盘,就在rebuild的时侯可能有点影响,但相对于硬盘成本来说,raid5也有它的适用性。
再有,高端存储它有cache,数据写到cache就算做完了(在主机的角度),所以对主机的影响又降低了点。
2008-5-9 00:54
五“宅”一生
老大们都出动了。占个位置好好学习。
2008-5-9 01:22
pyockee
用户新应用上oracle的话,对中端存储除了 Redo log和Archive log;Data Table和Temp Table分raid放外,为达到更好的负载效果,常将一个应用挂载点一分为2或4,效果会有比较明显的提升。当然,高端存储也会有一定提升但是没有中端明显,架构决定。
我不喜欢干这个活:'( ,累人,特别是还要准备SHADOW IMAGE和true copy,作孽啊
2008-5-9 02:38
老农
[quote]原帖由 [i]炸鸡[/i] 于 2008-5-8 08:50 发表 [url=http://www.loveunix.net/redirect.php?goto=findpost&pid=784602&ptid=84174][img]http://www.loveunix.net/images/common/back.gif[/img][/url]
存储通常有spare盘,就在rebuild的时侯可能有点影响,但相对于硬盘成本来说,raid5也有它的适用性。
再有,高端存储它有cache,数据写到cache就算做完了(在主机的角度),所以对主机的影响又降低了点。 [/quote]
rebuild的时间可不短,这时候,对应用的影响可不小。
如果说cache,那主机端本来就有cache,应用可不是等到数据写到存储才OK的,所以,你这个解释只能说明你被忽悠了。
所谓缓存,只是应一时之急,并不能解决持续的问题,在超过分钟的时间范畴,cache P用也没有。
2008-5-10 04:25
pyockee
HDS的预防式拷贝功能不错,大大节省了可能用来数据Correction校验的时间。
2008-5-10 08:28
笑看风云淡
hds这个我觉得是和fujitsu学的
2008-5-14 21:16
阿土
得这样么?
[attach]29354[/attach]
附RAID0+1/RAID10
RAID10与RAID01
RAID10~RAID0+1~RAID0+RAID1
RAID01~RAID1+0~RAID1+RAID0
如果对2n(n>=2)作镜像,系统将自动执行RAID1+0
一点解释:
RAID 0+1 - using 4 drives, two pairs are striped, and the results mirror each other. In this configuration, when one of the drives fails, it actually breaks the stipe that it belongs to, which in turn breaks the mirror... at this point, all you have is 1 stipe. At this point, if one drive fails, you are in trouble. To recover, the offending drive is removed, and the entire stipe needs to be resync'd.
RAID 1+0 - using 4 drives, two pairs are mirrored, and the results are used to create a single stripe. In this configuration, when one of the drives fails, it only breaks one mirror, without affecting the stripe... at this point, only 1/2 of the stipe is mirrored... but if a 2nd drive failure were to occur, it has a 2-in-3 chance of occuring on the last mirror... if it does, you are still OK. To recover, the offending drive is removed, and only the mirror of 1/2 the stripe needs to be resync'd.
举例说明:
raid 1+0
A1=B1
A2=B2
A=A1+A2
B=B1+B2
当A1坏时,B1再坏整个RAID完蛋,几率为1/3
raid 0+1
A=A1+A2
B=B1+B2
A=B
当A1坏时,A即坏但是同时B坏任何一块整个RAID都完蛋,几率为2/3
所以1+0好于O+1
[[i] 本帖最后由 阿土 于 2008-5-14 21:26 编辑 [/i]]
2008-5-14 21:30
zangying2005
回复 #17 老农 的帖子
rebuild的时间可不短,这时候,对应用的影响可不小。
rebuild可以根据优先级的高低进行一定的调整,对应用的影响主要表现在,RAID5本身需要消耗磁盘的读写资源进行REBUILD.优先级最低的时候,影响并不是非常大。但太长的时间REBUILDH,RAID没有容错能力。风险较高。
盘柜控制器的CACHE在电池有效的情况下是一直在使用的,他缓存将要写入硬盘的数据,同时也提供对这些数据的直接访问。对磁盘的性能有较大的提长。无电池的CACHE使用风险较大,通常不建议使用。
2008-5-17 20:25
freebug
还没看明白raid10跟raid01有什么区别
2008-5-18 19:56
笑看风云淡
[quote]原帖由 [i]freebug[/i] 于 2008-5-17 20:25 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=788409&ptid=84174][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
还没看明白raid10跟raid01有什么区别 [/quote]
RAID10是先做镜像然后再做条带。
RAID01反之。
他们的不同也就在数据盘的分布是不一样的。
raid01盘坏的概率要大于raid10,在无盘损坏的情况下,raid01要比raid10读取速度快
请参考[url]http://bbs.loveunix.net/thread-80172-1-2.html[/url]
只看原理部分,剔除厂家部分。
2008-5-29 14:17
shahand
oracle现在更狠了,什么raid5/raid6/raid10都靠边
看我ASM! S.A.M.E !!! :lol :lol
Look this:
http://asktom.oracle.com/pls/asktom/f?p=100:11:1961467887139935::::P11_QUESTION_ID:359617936136
页:
[1]
2
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.