<?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: Three ways to know when a MySQL slave is about to start lagging</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/</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: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-361315</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Sat, 11 Oct 2008 17:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-361315</guid>
		<description>Sean, describe what you&#039;d like them to graph.  Oh, and if you want commit rights to the SVN repository, just say yes :)</description>
		<content:encoded><![CDATA[<p>Sean, describe what you&#8217;d like them to graph.  Oh, and if you want commit rights to the SVN repository, just say yes <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-361127</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-361127</guid>
		<description>Baron,

I would note &quot;Bumpy&quot; Lag graphs can also start happening in case you have some long executing queries being passed to the slave which is bad thing on itself.

I would recommend avoiding queries longer than 1/3rd of accepted lag in the replication. Ie if you want to be within 60sec you should ensure no queries going through replication take more than 20sec to execute.

Speaking about slave load I&#039;d like to see slave to have at least 5x capacity when it is idle and at least 3x when it is operating  during normal load this means you can take some spikes without lagging, though it is very application dependent.

Considering how much it takes to do roll forward recovery from backup is another important thing to keep in mind.</description>
		<content:encoded><![CDATA[<p>Baron,</p>
<p>I would note &#8220;Bumpy&#8221; Lag graphs can also start happening in case you have some long executing queries being passed to the slave which is bad thing on itself.</p>
<p>I would recommend avoiding queries longer than 1/3rd of accepted lag in the replication. Ie if you want to be within 60sec you should ensure no queries going through replication take more than 20sec to execute.</p>
<p>Speaking about slave load I&#8217;d like to see slave to have at least 5x capacity when it is idle and at least 3x when it is operating  during normal load this means you can take some spikes without lagging, though it is very application dependent.</p>
<p>Considering how much it takes to do roll forward recovery from backup is another important thing to keep in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-361039</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 10 Oct 2008 07:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-361039</guid>
		<description>Baron, any future plans to create cacti graphs to log the *_statistics tables and/or include the #mysql_system# user in the replication templates? :)</description>
		<content:encoded><![CDATA[<p>Baron, any future plans to create cacti graphs to log the *_statistics tables and/or include the #mysql_system# user in the replication templates? <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-360918</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Thu, 09 Oct 2008 13:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-360918</guid>
		<description>frederic, you have to take some load off the server.  We have a whole section in our book about how to help slaves keep up.  It&#039;s in the replication chapter.  http://www.amazon.com/gp/product/0596101716?tag=perinc-20</description>
		<content:encoded><![CDATA[<p>frederic, you have to take some load off the server.  We have a whole section in our book about how to help slaves keep up.  It&#8217;s in the replication chapter.  <a href="http://www.amazon.com/gp/product/0596101716?tag=perinc-20" rel="nofollow">http://www.amazon.com/gp/product/0596101716?tag=perinc-20</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Domack</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-360916</link>
		<dc:creator>Patrick Domack</dc:creator>
		<pubDate>Thu, 09 Oct 2008 13:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-360916</guid>
		<description>I have been using the mk-heartbeat type method for a few years now (using my own version). I found this excentual to actually being able to tell many issues with a slave itself. I have also wrapped the main critical mysql connected around checking the lag, and if it&#039;s excessive, to switch to a different slave. It has worked well.</description>
		<content:encoded><![CDATA[<p>I have been using the mk-heartbeat type method for a few years now (using my own version). I found this excentual to actually being able to tell many issues with a slave itself. I have also wrapped the main critical mysql connected around checking the lag, and if it&#8217;s excessive, to switch to a different slave. It has worked well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frederic sidler</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-360821</link>
		<dc:creator>frederic sidler</dc:creator>
		<pubDate>Thu, 09 Oct 2008 08:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-360821</guid>
		<description>Assuming that you have no network problem between your nodes. What would you do next. I mean if your slave begins to lag behind your master</description>
		<content:encoded><![CDATA[<p>Assuming that you have no network problem between your nodes. What would you do next. I mean if your slave begins to lag behind your master</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baron Schwartz</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-360700</link>
		<dc:creator>Baron Schwartz</dc:creator>
		<pubDate>Thu, 09 Oct 2008 03:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-360700</guid>
		<description>Don&#039;t load your slaves so much that they fall behind.

Plan for the slaves to have a hard time keeping up with the master, even with the same or better hardware.

Plan for slave lag and make your application cope with it.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t load your slaves so much that they fall behind.</p>
<p>Plan for the slaves to have a hard time keeping up with the master, even with the same or better hardware.</p>
<p>Plan for slave lag and make your application cope with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Wultsch</title>
		<link>http://www.mysqlperformanceblog.com/2008/10/08/three-ways-to-know-when-a-mysql-slave-is-about-to-start-lagging/comment-page-1/#comment-360675</link>
		<dc:creator>Rob Wultsch</dc:creator>
		<pubDate>Thu, 09 Oct 2008 02:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=511#comment-360675</guid>
		<description>Any general comments about max advised load on slaves?</description>
		<content:encoded><![CDATA[<p>Any general comments about max advised load on slaves?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

