﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论: raid5与raid10内部分析</title>
	<atom:link href="http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html</link>
	<description>dba on unix</description>
	<lastBuildDate>Thu, 11 Mar 2010 04:42:41 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>作者: The rose love</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-1864</link>
		<dc:creator>The rose love</dc:creator>
		<pubDate>Sat, 25 Oct 2008 09:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-1864</guid>
		<description>Write quite good.Give you to encourage, next time again come to your crest once(*__*)</description>
		<content:encoded><![CDATA[<p>Write quite good.Give you to encourage, next time again come to your crest once(*__*)</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: 小霸王</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-1282</link>
		<dc:creator>小霸王</dc:creator>
		<pubDate>Mon, 10 Dec 2007 14:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-1282</guid>
		<description>也就是说，raid5走的是“读——修改——写”策略，走这个的主要原因是要产生新的校验码。而raid10走的是直接覆盖写策略，它这个是继承了raid0的处理方法，而由于要镜像一份因此会比raid5少2个io。
明白了……</description>
		<content:encoded><![CDATA[<p>也就是说，raid5走的是“读——修改——写”策略，走这个的主要原因是要产生新的校验码。而raid10走的是直接覆盖写策略，它这个是继承了raid0的处理方法，而由于要镜像一份因此会比raid5少2个io。<br />
明白了……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: Johnber</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-700</link>
		<dc:creator>Johnber</dc:creator>
		<pubDate>Mon, 25 Jun 2007 02:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-700</guid>
		<description>支持一下
希望会更好</description>
		<content:encoded><![CDATA[<p>支持一下<br />
希望会更好</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: qiaoruzhi</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-528</link>
		<dc:creator>qiaoruzhi</dc:creator>
		<pubDate>Thu, 31 May 2007 01:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-528</guid>
		<description>謝謝, piner, 維護一個個人站點要花費不少時間吧? 辛苦了</description>
		<content:encoded><![CDATA[<p>謝謝, piner, 維護一個個人站點要花費不少時間吧? 辛苦了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-514</link>
		<dc:creator>piner</dc:creator>
		<pubDate>Wed, 30 May 2007 08:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-514</guid>
		<description>呵呵，oracle的就比较复杂了，旧值写到rbs，是写的前映像，不是整个数据块，所以，可能很多块的修改，才有一个RBS的块，RBS的块，你也可以认为是一个数据文件的块。

如果不在data buffer，就从磁盘子系统上去读进来。</description>
		<content:encoded><![CDATA[<p>呵呵，oracle的就比较复杂了，旧值写到rbs，是写的前映像，不是整个数据块，所以，可能很多块的修改，才有一个RBS的块，RBS的块，你也可以认为是一个数据文件的块。</p>
<p>如果不在data buffer，就从磁盘子系统上去读进来。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: qiaoruzhi</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-512</link>
		<dc:creator>qiaoruzhi</dc:creator>
		<pubDate>Wed, 30 May 2007 08:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-512</guid>
		<description>[quote]你可能没有弄清楚raid5要读的原因，那是因为要重新计算校验。[/quote]

又看了一次， 了解RAID5的二个读的意思了。 
OS&amp;阵列中buffer， 不需要为了写，而去读disk中的数据的。 

我想请问, oracle的update 一个block，如果databuffer中没有block，  需要多一个读disk数据的操作吧， 因为需要写旧值到rbs。 对不对？</description>
		<content:encoded><![CDATA[<p>[quote]你可能没有弄清楚raid5要读的原因，那是因为要重新计算校验。[/quote]</p>
<p>又看了一次， 了解RAID5的二个读的意思了。<br />
OS&amp;阵列中buffer， 不需要为了写，而去读disk中的数据的。 </p>
<p>我想请问, oracle的update 一个block，如果databuffer中没有block，  需要多一个读disk数据的操作吧， 因为需要写旧值到rbs。 对不对？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-503</link>
		<dc:creator>piner</dc:creator>
		<pubDate>Wed, 30 May 2007 01:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-503</guid>
		<description>你可能没有弄清楚raid5要读的原因，那是因为要重新计算校验。</description>
		<content:encoded><![CDATA[<p>你可能没有弄清楚raid5要读的原因，那是因为要重新计算校验。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-502</link>
		<dc:creator>piner</dc:creator>
		<pubDate>Wed, 30 May 2007 01:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-502</guid>
		<description>对于阵列系统，写是写cache，这个是没有错的。
但是，raid1或者是radi10，阵列是知道这个数据的位置在哪里的，直接去覆盖掉原来的数据即可，何必要读出来呢？</description>
		<content:encoded><![CDATA[<p>对于阵列系统，写是写cache，这个是没有错的。<br />
但是，raid1或者是radi10，阵列是知道这个数据的位置在哪里的，直接去覆盖掉原来的数据即可，何必要读出来呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: qiaoruzhi</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-500</link>
		<dc:creator>qiaoruzhi</dc:creator>
		<pubDate>Wed, 30 May 2007 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-500</guid>
		<description>[quote]为什么要读呢？你给个理由啊[/quote]
数据修改都在[quote]为什么要读呢？你给个理由啊[/quote]
我是这样想的,同样的raid 5，为什么需要4个IO， 而RAID10就只需要写2个IO. 
而且他们都是同样的要写数据到2个硬盘. 

我上面说要&quot;读&quot; , 是基于OS的写机制来说的, 由于写硬盘的速度跟不上CPU的写速度. 所以现在的写都是先写buffer, 然后buffer 和 硬盘再做同步。所以上面的一个写， 需要先把DATA读到buffer， 一个IO。 再把buffer中修改的值写到磁盘， 又是一个IO。 镜像也是一样的道理。</description>
		<content:encoded><![CDATA[<p>[quote]为什么要读呢？你给个理由啊[/quote]<br />
数据修改都在[quote]为什么要读呢？你给个理由啊[/quote]<br />
我是这样想的,同样的raid 5，为什么需要4个IO， 而RAID10就只需要写2个IO.<br />
而且他们都是同样的要写数据到2个硬盘. </p>
<p>我上面说要&#8221;读&#8221; , 是基于OS的写机制来说的, 由于写硬盘的速度跟不上CPU的写速度. 所以现在的写都是先写buffer, 然后buffer 和 硬盘再做同步。所以上面的一个写， 需要先把DATA读到buffer， 一个IO。 再把buffer中修改的值写到磁盘， 又是一个IO。 镜像也是一样的道理。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html/comment-page-1#comment-490</link>
		<dc:creator>piner</dc:creator>
		<pubDate>Mon, 28 May 2007 14:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ixdba.com/html/y2007/m04/69-raid5-raid10.html#comment-490</guid>
		<description>为什么要读呢？你给个理由啊</description>
		<content:encoded><![CDATA[<p>为什么要读呢？你给个理由啊</p>
]]></content:encoded>
	</item>
</channel>
</rss>
