<?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"
	>
<channel>
	<title>Comments on: The MySQL optimizer, the OS cache, and sequential versus random I/O</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Tue, 02 Dec 2008 19:58:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: dbnewz &#187; Blog Archive &#187; Cardinalité, sélectivité et distributivité d&#8217;un index MySQL : quel impact sur le plan d&#8217;exécution ?</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-351928</link>
		<dc:creator>dbnewz &#187; Blog Archive &#187; Cardinalité, sélectivité et distributivité d&#8217;un index MySQL : quel impact sur le plan d&#8217;exécution ?</dc:creator>
		<pubDate>Thu, 04 Sep 2008 22:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-351928</guid>
		<description>[...] Une excellente illustration des difficultés parfois rencontrées par l&#8217;optimiseur, un coup de pouce du DBA permet alors de réduire la requête de 2.5 jours à 1h ! [...]</description>
		<content:encoded><![CDATA[<p>[...] Une excellente illustration des difficultés parfois rencontrées par l&#8217;optimiseur, un coup de pouce du DBA permet alors de réduire la requête de 2.5 jours à 1h ! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yasufumi Kinoshita</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-299242</link>
		<dc:creator>Yasufumi Kinoshita</dc:creator>
		<pubDate>Thu, 15 May 2008 05:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-299242</guid>
		<description>I have tried to fix 5.0 optimizer. (But I have focused on InnoDB)
My patch may solve this type of problems.

http://bugs.mysql.com/bug.php?id=36681

Regards.</description>
		<content:encoded><![CDATA[<p>I have tried to fix 5.0 optimizer. (But I have focused on InnoDB)<br />
My patch may solve this type of problems.</p>
<p><a href="http://bugs.mysql.com/bug.php?id=36681" rel="nofollow">http://bugs.mysql.com/bug.php?id=36681</a></p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298520</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Tue, 13 May 2008 22:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298520</guid>
		<description>Triffids, I don't know much about the multi-range read feature. (I say that about lots of things until I have studied it a lot).  It's unfinished, and I would bet the final implementation will be somewhat different than it is now.</description>
		<content:encoded><![CDATA[<p>Triffids, I don&#8217;t know much about the multi-range read feature. (I say that about lots of things until I have studied it a lot).  It&#8217;s unfinished, and I would bet the final implementation will be somewhat different than it is now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Triffids</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298489</link>
		<dc:creator>Triffids</dc:creator>
		<pubDate>Tue, 13 May 2008 18:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298489</guid>
		<description>Cool feature ! and how MySQL optimizer chose random read (and read some blocks from cache) or use MRR (all blocks from HDD) ?</description>
		<content:encoded><![CDATA[<p>Cool feature ! and how MySQL optimizer chose random read (and read some blocks from cache) or use MRR (all blocks from HDD) ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298472</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Tue, 13 May 2008 16:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298472</guid>
		<description>Triffids, see http://www.mysqlperformanceblog.com/2008/03/25/mysql-60-vs-51-in-tpc-h-queries/</description>
		<content:encoded><![CDATA[<p>Triffids, see <a href="http://www.mysqlperformanceblog.com/2008/03/25/mysql-60-vs-51-in-tpc-h-queries/" rel="nofollow">http://www.mysqlperformanceblog.com/2008/03/25/mysql-60-vs-51-in-tpc-h-queries/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Triffids</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298459</link>
		<dc:creator>Triffids</dc:creator>
		<pubDate>Tue, 13 May 2008 16:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-298459</guid>
		<description>And why MySQL doesn't use scattered read (multiblock read) as it do rdbms leaders ?</description>
		<content:encoded><![CDATA[<p>And why MySQL doesn&#8217;t use scattered read (multiblock read) as it do rdbms leaders ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webadmin rövidhírek #2 at ‹Webakadémia /›</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-294116</link>
		<dc:creator>Webadmin rövidhírek #2 at ‹Webakadémia /›</dc:creator>
		<pubDate>Mon, 05 May 2008 07:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-294116</guid>
		<description>[...] amikor nem árt a rásegítés. Egy konkrét optimalizálással kapcsolatos példát olvashatunk az operációs rendszer cache és a lemezműveletek kapcsán a MySQL Performance [...]</description>
		<content:encoded><![CDATA[<p>[...] amikor nem árt a rásegítés. Egy konkrét optimalizálással kapcsolatos példát olvashatunk az operációs rendszer cache és a lemezműveletek kapcsán a MySQL Performance [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-291852</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Fri, 02 May 2008 12:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-291852</guid>
		<description>Marki, to some extent that is true, but the effect isn't as severe as you think.  Even in the worst case, if the scan is interrupted very often, it will still read many rows each time the disk services this task, and a full scan broken into thousands of pieces is still much faster than millions of random reads.  Also, both the OS and the disk controller have a lot of intelligence to recognize and handle these scenarios (batching, reordering, read-ahead, etc), so they end up being more efficient than just random reads.  Full scans for this type of query under a concurrent workload are still a big win.</description>
		<content:encoded><![CDATA[<p>Marki, to some extent that is true, but the effect isn&#8217;t as severe as you think.  Even in the worst case, if the scan is interrupted very often, it will still read many rows each time the disk services this task, and a full scan broken into thousands of pieces is still much faster than millions of random reads.  Also, both the OS and the disk controller have a lot of intelligence to recognize and handle these scenarios (batching, reordering, read-ahead, etc), so they end up being more efficient than just random reads.  Full scans for this type of query under a concurrent workload are still a big win.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marki</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-291685</link>
		<dc:creator>Marki</dc:creator>
		<pubDate>Fri, 02 May 2008 07:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-291685</guid>
		<description>Nice post. But is this still true when we have lot of different queries running in paralel? Won't they also use the disk and "interrupt" the sequential reads with their own reads and in fact the disk will be making random reads? If this is true, there is no reason in trying to optimize one particular query to use table scan (unless it is the only query running).</description>
		<content:encoded><![CDATA[<p>Nice post. But is this still true when we have lot of different queries running in paralel? Won&#8217;t they also use the disk and &#8220;interrupt&#8221; the sequential reads with their own reads and in fact the disk will be making random reads? If this is true, there is no reason in trying to optimize one particular query to use table scan (unless it is the only query running).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Byrum</title>
		<link>http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-290666</link>
		<dc:creator>Clint Byrum</dc:creator>
		<pubDate>Wed, 30 Apr 2008 18:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2008/04/28/the-mysql-optimizer-the-os-cache-and-sequential-versus-random-io/#comment-290666</guid>
		<description>Yeah this is great stuff. I recall that MS SQL Server would actually figure out that a table and its indexes could fit into RAM, and load them into their equivilent of a memory engine temp table, allowing the optimizer to figure this stuff out. Seems like that would be a worthwhile feature for the query optimizer which would perform better than the underlying OS cache.</description>
		<content:encoded><![CDATA[<p>Yeah this is great stuff. I recall that MS SQL Server would actually figure out that a table and its indexes could fit into RAM, and load them into their equivilent of a memory engine temp table, allowing the optimizer to figure this stuff out. Seems like that would be a worthwhile feature for the query optimizer which would perform better than the underlying OS cache.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
