<?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>Sat, 13 Mar 2010 03:59:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.pythian.com/news/4543/video-and-slides-how-innodb-works/#comment-379548</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Fri, 16 Oct 2009 19:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=4543#comment-379548</guid>
		<description>Hi Sheeri,

Thanks for sharing the slides!
A note: I&#039;m taking a wild guess, that you created the presentation with OpenOffice, then exported to PDF. I&#039;m guessing so because of the nasty &quot;feature&quot; of OpenOffice to first generate slides-only pages, then slides+notes pages.

You may find my following howto useful: http://code.openark.org/blog/openoffice/how-to-export-openoffice-presentations-to-pdf

Regards</description>
		<content:encoded><![CDATA[<p>Hi Sheeri,</p>
<p>Thanks for sharing the slides!<br />
A note: I&#8217;m taking a wild guess, that you created the presentation with OpenOffice, then exported to PDF. I&#8217;m guessing so because of the nasty &#8220;feature&#8221; of OpenOffice to first generate slides-only pages, then slides+notes pages.</p>
<p>You may find my following howto useful: <a href="http://code.openark.org/blog/openoffice/how-to-export-openoffice-presentations-to-pdf" rel="nofollow">http://code.openark.org/blog/openoffice/how-to-export-openoffice-presentations-to-pdf</a></p>
<p>Regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
