<?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>Comments on: Video and Slides: How InnoDB works</title>
	<atom:link href="http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-434119</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Sat, 05 Jun 2010 14:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-434119</guid>
		<description>Chris -- I&#039;m not sure what you mean....As the first paragraph implies, I went through SHOW ENGINE INNODB STATUS in this presentation, and in doing so ended up teaching a lot about how InnoDB works.

Is there a &quot;better&quot; storage engine for MySQL?  Sure, if you&#039;re doing lots of INSERTs, few or no UPDATEs and few or no DELETEs, and some reads, it&#039;s best to use MyISAM with concurrent_insert=2.  Similarly, if you want to do blob streaming PBXT is better than InnoDB.  

I could go on, but &quot;better&quot; is relative for what you want to do with a particular table.</description>
		<content:encoded><![CDATA[<p>Chris &#8212; I&#8217;m not sure what you mean&#8230;.As the first paragraph implies, I went through SHOW ENGINE INNODB STATUS in this presentation, and in doing so ended up teaching a lot about how InnoDB works.</p>
<p>Is there a &#8220;better&#8221; storage engine for MySQL?  Sure, if you&#8217;re doing lots of INSERTs, few or no UPDATEs and few or no DELETEs, and some reads, it&#8217;s best to use MyISAM with concurrent_insert=2.  Similarly, if you want to do blob streaming PBXT is better than InnoDB.  </p>
<p>I could go on, but &#8220;better&#8221; is relative for what you want to do with a particular table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Huntley</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-434053</link>
		<dc:creator>Chris Huntley</dc:creator>
		<pubDate>Sat, 05 Jun 2010 07:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-434053</guid>
		<description>I can&#039;t tell from your comments if you&#039;re just reviewing how innodb works impartially or if you&#039;re a fan.  That being said, do you think there&#039;s a better storage engine for mysql?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t tell from your comments if you&#8217;re just reviewing how innodb works impartially or if you&#8217;re a fan.  That being said, do you think there&#8217;s a better storage engine for mysql?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kayra Otaner</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-386341</link>
		<dc:creator>Kayra Otaner</dc:creator>
		<pubDate>Fri, 20 Nov 2009 19:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-386341</guid>
		<description>Sheeri,
Thank you, I believe we agree on that.
I just wanted to confirm there is no direct relationship between dirty pages &amp; log flushes as that sentence I quoted sounded as if there is one.

Thank you again.</description>
		<content:encoded><![CDATA[<p>Sheeri,<br />
Thank you, I believe we agree on that.<br />
I just wanted to confirm there is no direct relationship between dirty pages &amp; log flushes as that sentence I quoted sounded as if there is one.</p>
<p>Thank you again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-386277</link>
		<dc:creator>Sheeri</dc:creator>
		<pubDate>Fri, 20 Nov 2009 17:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-386277</guid>
		<description>Kayra -- 

I&#039;m not sure what the question is...you commented on me saying that dirty pages are not flushed to disk, even when logs are...you quoted me saying:

&quot;modified db pages are pages not flushed to disk yet (&gt;0 even when flush_logs_at_trx_commit=0).&quot;

so I think we&#039;re agreeing here....flushing logs has nothing to do with flushing dirty pages.....

Unless I missed something in your original question?</description>
		<content:encoded><![CDATA[<p>Kayra &#8212; </p>
<p>I&#8217;m not sure what the question is&#8230;you commented on me saying that dirty pages are not flushed to disk, even when logs are&#8230;you quoted me saying:</p>
<p>&#8220;modified db pages are pages not flushed to disk yet (&gt;0 even when flush_logs_at_trx_commit=0).&#8221;</p>
<p>so I think we&#8217;re agreeing here&#8230;.flushing logs has nothing to do with flushing dirty pages&#8230;..</p>
<p>Unless I missed something in your original question?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kayra Otaner</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-386045</link>
		<dc:creator>Kayra Otaner</dc:creator>
		<pubDate>Thu, 19 Nov 2009 21:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-386045</guid>
		<description>Sorry I should have been more clear with my question above.
My question was more like to understand relationship you came up with between dirty page count and innodb_flush_log_at_trx_commit variable.
AFAIK innodb_flush_log_at_trx_commit=1 guarantees 1 commit - 1 flush. Any other variation will (almost) provide flush every second. As you said, flushes are for logs only, so when you flush, you actually flush into log file, not to InnoDB table space. I believe flushing into log, whether its with every commit or every second should not reduce dirty pages in memory as they&#039;re still not identical to the pages on InnoDB table space.</description>
		<content:encoded><![CDATA[<p>Sorry I should have been more clear with my question above.<br />
My question was more like to understand relationship you came up with between dirty page count and innodb_flush_log_at_trx_commit variable.<br />
AFAIK innodb_flush_log_at_trx_commit=1 guarantees 1 commit &#8211; 1 flush. Any other variation will (almost) provide flush every second. As you said, flushes are for logs only, so when you flush, you actually flush into log file, not to InnoDB table space. I believe flushing into log, whether its with every commit or every second should not reduce dirty pages in memory as they&#8217;re still not identical to the pages on InnoDB table space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-385979</link>
		<dc:creator>Sheeri</dc:creator>
		<pubDate>Thu, 19 Nov 2009 20:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-385979</guid>
		<description>Kayra -- 

Yes, I can say that.

innodb_flush_log_at_trx_commit flushes logs to disk, not dirty pages.  If the database crashes, InnoDB&#039;s crash recovery will redo the writes on the dirty pages using what&#039;s in the logs.

The flushes are for logs only, not the actual data pages.  That tripped me up when I first thought about it too.</description>
		<content:encoded><![CDATA[<p>Kayra &#8212; </p>
<p>Yes, I can say that.</p>
<p>innodb_flush_log_at_trx_commit flushes logs to disk, not dirty pages.  If the database crashes, InnoDB&#8217;s crash recovery will redo the writes on the dirty pages using what&#8217;s in the logs.</p>
<p>The flushes are for logs only, not the actual data pages.  That tripped me up when I first thought about it too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kayra Otaner</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-385891</link>
		<dc:creator>Kayra Otaner</dc:creator>
		<pubDate>Thu, 19 Nov 2009 18:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-385891</guid>
		<description>Can you really say  :
&quot;modified db pages are pages not flushed to disk yet (&gt;0 even when flush_logs_at_trx_commit=0).&quot;

Only innodb_flush_log_at_trx_commit=1 (default/Acid compliant) mode guarantees flushes with every commit. So anything other than default value 1, will flush logs to disk. But still this isn&#039;t directly related to dirty pages?</description>
		<content:encoded><![CDATA[<p>Can you really say  :<br />
&#8220;modified db pages are pages not flushed to disk yet (&gt;0 even when flush_logs_at_trx_commit=0).&#8221;</p>
<p>Only innodb_flush_log_at_trx_commit=1 (default/Acid compliant) mode guarantees flushes with every commit. So anything other than default value 1, will flush logs to disk. But still this isn&#8217;t directly related to dirty pages?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-379551</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Fri, 16 Oct 2009 19:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-379551</guid>
		<description>Sheeri,

Haven&#039;t watched it yet. Will find the time after the weekend :)</description>
		<content:encoded><![CDATA[<p>Sheeri,</p>
<p>Haven&#8217;t watched it yet. Will find the time after the weekend :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-379550</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Fri, 16 Oct 2009 19:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-379550</guid>
		<description>Shlomi -- did you like the video too?</description>
		<content:encoded><![CDATA[<p>Shlomi &#8212; did you like the video too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-379549</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Fri, 16 Oct 2009 19:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-379549</guid>
		<description>Shlomi -- yep!  Usually people just want the notes, so I use the trick of opening the first page to the first page of the notes.  (mostly it bothered me when I printed, b/c when I print I want *only* the notes.  So for a 10-slide deck, I print pages 11-20).

But I appreciate your trick!</description>
		<content:encoded><![CDATA[<p>Shlomi &#8212; yep!  Usually people just want the notes, so I use the trick of opening the first page to the first page of the notes.  (mostly it bothered me when I printed, b/c when I print I want *only* the notes.  So for a 10-slide deck, I print pages 11-20).</p>
<p>But I appreciate your trick!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

