<?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: Impact of logging on MySQLâ€™s performance</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/</link>
	<description>Percona&#039;s MySQL &#38; InnoDB performance and scalability blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rick James</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-796728</link>
		<dc:creator>Rick James</dc:creator>
		<pubDate>Tue, 01 Feb 2011 19:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-796728</guid>
		<description>The whole question is a non-issue.  Turn on the slowlog, and leave it on.  Why do I say that?
* If the system is performing well, then, by definition, the slowlog is not hurting.
* If the system is performing poorly, then you need to look back at what was causing the most pain and fix it.  And the slowlog is the best way to do that.

We have hundreds of systems (thousands of servers in replication setups) in production.  The default is to have the slowlog on, and to set long_query_time = 2.  (Some systems use higher or lower values.)

When there is a meltdown, the slowlog is sometimes the best source of &#039;why&#039;.  The rest of the time, I find it useful to proactively look for naughty queries and propose tuning / index / schema / design changes.

Anyway, thanks for confirming that the overhead is &quot;in the noise&quot;.  (I assume you are talking only about the slowlog, not the binlog, nor the general log.)</description>
		<content:encoded><![CDATA[<p>The whole question is a non-issue.  Turn on the slowlog, and leave it on.  Why do I say that?<br />
* If the system is performing well, then, by definition, the slowlog is not hurting.<br />
* If the system is performing poorly, then you need to look back at what was causing the most pain and fix it.  And the slowlog is the best way to do that.</p>
<p>We have hundreds of systems (thousands of servers in replication setups) in production.  The default is to have the slowlog on, and to set long_query_time = 2.  (Some systems use higher or lower values.)</p>
<p>When there is a meltdown, the slowlog is sometimes the best source of &#8216;why&#8217;.  The rest of the time, I find it useful to proactively look for naughty queries and propose tuning / index / schema / design changes.</p>
<p>Anyway, thanks for confirming that the overhead is &#8220;in the noise&#8221;.  (I assume you are talking only about the slowlog, not the binlog, nor the general log.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-472617</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 12 Feb 2009 00:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-472617</guid>
		<description>Robert,

Dtrace is cool. The thing is though very little of our customers runs Solaris.   I worked w Sun on Dtrace support for MySQL during my time there.</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>Dtrace is cool. The thing is though very little of our customers runs Solaris.   I worked w Sun on Dtrace support for MySQL during my time there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Treat</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-472391</link>
		<dc:creator>Robert Treat</dc:creator>
		<pubDate>Wed, 11 Feb 2009 20:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-472391</guid>
		<description>This whole topic is one of the reason&#039;s we&#039;ve always been so excited about dtrace. I wonder, perhaps you guys should query the mysql developers to get a copy of their dtrace probes patch for 6.0, and put it into OurDelta now. Probes are pretty non-intrusive; we&#039;ve done them for both Apache and Postgres on our own (though we worked with Sun to get the Postgres ones into core for Postgres 8.4). 

http://labs.omniti.com/trac/project-dtrace/wiki
http://lethargy.org/~jesus/index.php?serendipity%5Baction%5D=search&amp;serendipity%5BsearchTerm%5D=dtrace&amp;serendipity%5BsearchButton%5D=%3E</description>
		<content:encoded><![CDATA[<p>This whole topic is one of the reason&#8217;s we&#8217;ve always been so excited about dtrace. I wonder, perhaps you guys should query the mysql developers to get a copy of their dtrace probes patch for 6.0, and put it into OurDelta now. Probes are pretty non-intrusive; we&#8217;ve done them for both Apache and Postgres on our own (though we worked with Sun to get the Postgres ones into core for Postgres 8.4). </p>
<p><a href="http://labs.omniti.com/trac/project-dtrace/wiki" rel="nofollow">http://labs.omniti.com/trac/project-dtrace/wiki</a><br />
<a href="http://lethargy.org/~jesus/index.php?serendipity%5Baction%5D=search&#038;serendipity%5BsearchTerm%5D=dtrace&#038;serendipity%5BsearchButton%5D=%3E" rel="nofollow">http://lethargy.org/~jesus/index.php?serendipity%5Baction%5D=search&#038;serendipity%5BsearchTerm%5D=dtrace&#038;serendipity%5BsearchButton%5D=%3E</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Rusinov</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-472058</link>
		<dc:creator>Vladimir Rusinov</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-472058</guid>
		<description>What about logging queries like INSERT INTO binary_table VALUES (123, &#039;%LARGE_BINARY_BLOB%&#039;)?

I&#039;ve found some time ago that for PostgreSQL logging such queries takes more time (and uses a lot of CPU) than this insert executes.</description>
		<content:encoded><![CDATA[<p>What about logging queries like INSERT INTO binary_table VALUES (123, &#8216;%LARGE_BINARY_BLOB%&#8217;)?</p>
<p>I&#8217;ve found some time ago that for PostgreSQL logging such queries takes more time (and uses a lot of CPU) than this insert executes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-471462</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-471462</guid>
		<description>Interesting your point to Cary Millsap blog.

I think his Book on Oracle Performance Optimization is one of the best books on performance tuning.  It surely taught me a lot when... And a lot of principles are general being it Oracle or MySQL just tools (or lack of tools) is different.</description>
		<content:encoded><![CDATA[<p>Interesting your point to Cary Millsap blog.</p>
<p>I think his Book on Oracle Performance Optimization is one of the best books on performance tuning.  It surely taught me a lot when&#8230; And a lot of principles are general being it Oracle or MySQL just tools (or lack of tools) is different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-471042</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Wed, 11 Feb 2009 00:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-471042</guid>
		<description>Arjen,

Exactly -- and as has been pointed out over and over, the minute you propose to people the means to figure out where their performance problems are, the first thing they do is anxiously ask &quot;how much overhead does it have.&quot;  Look at the PostgreSQL blogging world&#039;s take on this last week:

http://carymillsap.blogspot.com/2009/02/on-usefulness-of-software.html
http://prodlife.wordpress.com/2009/02/04/psychology-of-instrumentation/
http://tkyte.blogspot.com/2005/06/instrumentation.html

I think this benchmark shows that a) in cases where you&#039;re I/O bound, which is &lt;a href=&quot;http://www.markleith.co.uk/?p=22&quot; rel=&quot;nofollow&quot;&gt;exactly the time when people worry about the impact of logging&lt;/a&gt;, it isn&#039;t measurable, and b) it&#039;s not that much overhead anyway.</description>
		<content:encoded><![CDATA[<p>Arjen,</p>
<p>Exactly &#8212; and as has been pointed out over and over, the minute you propose to people the means to figure out where their performance problems are, the first thing they do is anxiously ask &#8220;how much overhead does it have.&#8221;  Look at the PostgreSQL blogging world&#8217;s take on this last week:</p>
<p><a href="http://carymillsap.blogspot.com/2009/02/on-usefulness-of-software.html" rel="nofollow">http://carymillsap.blogspot.com/2009/02/on-usefulness-of-software.html</a><br />
<a href="http://prodlife.wordpress.com/2009/02/04/psychology-of-instrumentation/" rel="nofollow">http://prodlife.wordpress.com/2009/02/04/psychology-of-instrumentation/</a><br />
<a href="http://tkyte.blogspot.com/2005/06/instrumentation.html" rel="nofollow">http://tkyte.blogspot.com/2005/06/instrumentation.html</a></p>
<p>I think this benchmark shows that a) in cases where you&#8217;re I/O bound, which is <a href="http://www.markleith.co.uk/?p=22" rel="nofollow">exactly the time when people worry about the impact of logging</a>, it isn&#8217;t measurable, and b) it&#8217;s not that much overhead anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjen Lentz</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/10/impact-of-logging-on-mysql%e2%80%99s-performance/comment-page-1/#comment-471011</link>
		<dc:creator>Arjen Lentz</dc:creator>
		<pubDate>Tue, 10 Feb 2009 23:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=612#comment-471011</guid>
		<description>So nothing new really, but good to have the numbers. Thanks!</description>
		<content:encoded><![CDATA[<p>So nothing new really, but good to have the numbers. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

