<?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: Innodb usability and ease of use.</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Tue, 02 Dec 2008 20:02:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Alexander Kjäll</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174987</link>
		<dc:creator>Alexander Kjäll</dc:creator>
		<pubDate>Fri, 05 Oct 2007 07:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174987</guid>
		<description>Kevin

Thanks you for clearing that up, it was a good read.</description>
		<content:encoded><![CDATA[<p>Kevin</p>
<p>Thanks you for clearing that up, it was a good read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antony Curtis</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174859</link>
		<dc:creator>Antony Curtis</dc:creator>
		<pubDate>Thu, 04 Oct 2007 19:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174859</guid>
		<description>The plug-in system available in MySQL 5.1+ permits the declaration of system variables as an ENUM which would easily allow defining variables, such as innodb_flush_logs_at_trx_commit, in a more human friendly way instead of just a number.</description>
		<content:encoded><![CDATA[<p>The plug-in system available in MySQL 5.1+ permits the declaration of system variables as an ENUM which would easily allow defining variables, such as innodb_flush_logs_at_trx_commit, in a more human friendly way instead of just a number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174777</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 04 Oct 2007 10:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174777</guid>
		<description>Kevin, Alexander

Indeed - O_DIRECT removes IO pressure and so can reduce swapping.  But even if your OS VM is smart enough to keep cache size in control there is still the reason to use it, and you're actually stating it.

With databases you're indeed sure you will not ever read the same block again - because it is in database buffer pool cache, which is typically larger than OS cache and so it will be most likely first removed from OS cache. 

Not to mention you likely want to keep your OS cache for things which really need it - like MyISAM tables, sort files etc.</description>
		<content:encoded><![CDATA[<p>Kevin, Alexander</p>
<p>Indeed - O_DIRECT removes IO pressure and so can reduce swapping.  But even if your OS VM is smart enough to keep cache size in control there is still the reason to use it, and you&#8217;re actually stating it.</p>
<p>With databases you&#8217;re indeed sure you will not ever read the same block again - because it is in database buffer pool cache, which is typically larger than OS cache and so it will be most likely first removed from OS cache. </p>
<p>Not to mention you likely want to keep your OS cache for things which really need it - like MyISAM tables, sort files etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Burton</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174765</link>
		<dc:creator>Kevin Burton</dc:creator>
		<pubDate>Thu, 04 Oct 2007 08:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174765</guid>
		<description>Alexander,

O_DIRECT can provide a huge performance boost since it can trick linux to NOT move the buffer pool into the page file.

Here's my recent battle with innodb+linux

http://feedblog.org/2007/09/29/using-o_direct-on-linux-and-innodb-to-fix-swap-insanity/</description>
		<content:encoded><![CDATA[<p>Alexander,</p>
<p>O_DIRECT can provide a huge performance boost since it can trick linux to NOT move the buffer pool into the page file.</p>
<p>Here&#8217;s my recent battle with innodb+linux</p>
<p><a href="http://feedblog.org/2007/09/29/using-o_direct-on-linux-and-innodb-to-fix-swap-insanity/" rel="nofollow">http://feedblog.org/2007/09/29/using-o_direct-on-linux-and-innodb-to-fix-swap-insanity/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Kjäll</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174764</link>
		<dc:creator>Alexander Kjäll</dc:creator>
		<pubDate>Thu, 04 Oct 2007 08:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174764</guid>
		<description>As far as i have understood it O_DIRECT makes linux not cache the data read from disk, this is a very small performance improvement and only holds true if you either don't have any free memory to cache it in, or are sure you doesn't read it again.

Here is an article with Linus Torvalds thoughts on O_DIRECT:

http://kerneltrap.org/node/7563</description>
		<content:encoded><![CDATA[<p>As far as i have understood it O_DIRECT makes linux not cache the data read from disk, this is a very small performance improvement and only holds true if you either don&#8217;t have any free memory to cache it in, or are sure you doesn&#8217;t read it again.</p>
<p>Here is an article with Linus Torvalds thoughts on O_DIRECT:</p>
<p><a href="http://kerneltrap.org/node/7563" rel="nofollow">http://kerneltrap.org/node/7563</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Burton</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174642</link>
		<dc:creator>Kevin Burton</dc:creator>
		<pubDate>Wed, 03 Oct 2007 19:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174642</guid>
		<description>Peter.  Good point.

So memlock + O_DIRECT seem to be required on Linux if you want to use all your memory and not page.

I still have to track down whether this is a bug in 2.6.18 or whether this is expected behavior.

Kevin</description>
		<content:encoded><![CDATA[<p>Peter.  Good point.</p>
<p>So memlock + O_DIRECT seem to be required on Linux if you want to use all your memory and not page.</p>
<p>I still have to track down whether this is a bug in 2.6.18 or whether this is expected behavior.</p>
<p>Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174547</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 03 Oct 2007 10:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174547</guid>
		<description>Indeed.  O_DIRECT can't be used with Log (on Linux) because it requires aligned IO while log can get writes of various sizes/alignment.</description>
		<content:encoded><![CDATA[<p>Indeed.  O_DIRECT can&#8217;t be used with Log (on Linux) because it requires aligned IO while log can get writes of various sizes/alignment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Janssen</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174075</link>
		<dc:creator>Jay Janssen</dc:creator>
		<pubDate>Mon, 01 Oct 2007 17:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-174075</guid>
		<description>O_DIRECT doesn't seem to affect the trx log, it applies to how inno opens the data files.</description>
		<content:encoded><![CDATA[<p>O_DIRECT doesn&#8217;t seem to affect the trx log, it applies to how inno opens the data files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Burton</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-173460</link>
		<dc:creator>Kevin Burton</dc:creator>
		<pubDate>Sat, 29 Sep 2007 04:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-173460</guid>
		<description>Hm... what's the downside of using O_DIRECT wrt the write ahead log?

We're considering the switch so that innodb doesn't have to worry about the kernel pushing the buffer pool into the page file.</description>
		<content:encoded><![CDATA[<p>Hm&#8230; what&#8217;s the downside of using O_DIRECT wrt the write ahead log?</p>
<p>We&#8217;re considering the switch so that innodb doesn&#8217;t have to worry about the kernel pushing the buffer pool into the page file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-173321</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 28 Sep 2007 17:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/28/innodb-usability-and-ease-of-use/#comment-173321</guid>
		<description>Jay, 

I knew something would point that out :) 

It is simple in the sense of settings which are more or less self descriptive.  The logic behind it can be not so simple, you're right. 

Indeed setting logs and data flush method separately would be better especially as even allowed modes differ between OS.  For example O_DIRECT on Linux requires buffer alignment while on Solaris  it is not required and so it should be possible to use it for logs as well.</description>
		<content:encoded><![CDATA[<p>Jay, </p>
<p>I knew something would point that out <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It is simple in the sense of settings which are more or less self descriptive.  The logic behind it can be not so simple, you&#8217;re right. </p>
<p>Indeed setting logs and data flush method separately would be better especially as even allowed modes differ between OS.  For example O_DIRECT on Linux requires buffer alignment while on Solaris  it is not required and so it should be possible to use it for logs as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
