<?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: Managing Slave Lag with MySQL Replication</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Thu, 05 Nov 2009 22:22:42 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fighting MySQL Replication Lag &#124; MySQL Performance Blog</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-357272</link>
		<dc:creator>Fighting MySQL Replication Lag &#124; MySQL Performance Blog</dc:creator>
		<pubDate>Tue, 23 Sep 2008 04:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-357272</guid>
		<description>[...] problem of MySQL Replication unable to catch up is quite common in MySQL world and in fact I already wrote about it. There are many aspects of managing mysql replication lag such as using proper hardware [...]</description>
		<content:encoded><![CDATA[<p>[...] problem of MySQL Replication unable to catch up is quite common in MySQL world and in fact I already wrote about it. There are many aspects of managing mysql replication lag such as using proper hardware [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-257388</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Wed, 26 Mar 2008 11:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-257388</guid>
		<description>Setting LOW_PRIORITY on UPDATE/DELETE/INSERT queries may also cause a replication lag. It works fine on the master, but when it is being replicated to the slaves, it will cause the replication thread to wait until there are no more readers on that table.</description>
		<content:encoded><![CDATA[<p>Setting LOW_PRIORITY on UPDATE/DELETE/INSERT queries may also cause a replication lag. It works fine on the master, but when it is being replicated to the slaves, it will cause the replication thread to wait until there are no more readers on that table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-254980</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 21 Mar 2008 00:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-254980</guid>
		<description>In a lot of cases it&#039;s hard to find a way speed up replication, so you have to be creative within your web apps. Another big problem I found is trying to test/report replication speeds under heavy load. 

I came up with a way for situations where you need to INSERT then SELECT the same data instantly - this is by using master/slave circular replication design, (the master/slaves can also have read-only slaves)... e.g. INSERT into the master - return the masters IP Address, then make a connection to the same master with the returned IP Address and select that same data that just got inserted into the master/slave. This can work for certain situations but can be hard getting the right load balance to the masters.

Good luck :)</description>
		<content:encoded><![CDATA[<p>In a lot of cases it&#8217;s hard to find a way speed up replication, so you have to be creative within your web apps. Another big problem I found is trying to test/report replication speeds under heavy load. </p>
<p>I came up with a way for situations where you need to INSERT then SELECT the same data instantly &#8211; this is by using master/slave circular replication design, (the master/slaves can also have read-only slaves)&#8230; e.g. INSERT into the master &#8211; return the masters IP Address, then make a connection to the same master with the returned IP Address and select that same data that just got inserted into the master/slave. This can work for certain situations but can be hard getting the right load balance to the masters.</p>
<p>Good luck <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jenny</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-252581</link>
		<dc:creator>jenny</dc:creator>
		<pubDate>Fri, 14 Mar 2008 00:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-252581</guid>
		<description>The replication query execution information can easily be traced with Dtrace by inserting the dtrace probes into the mysql_update function, plus, it can report query excution less than 1 sec (ms or ns)</description>
		<content:encoded><![CDATA[<p>The replication query execution information can easily be traced with Dtrace by inserting the dtrace probes into the mysql_update function, plus, it can report query excution less than 1 sec (ms or ns)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-179319</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 20 Oct 2007 16:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-179319</guid>
		<description>Michael,

Indeed no_write_to_binlog or local can be better for alter table optimize table.

To bad it is not supported as a flag for all commands as you may be willing to run without replication any kind of command.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>Indeed no_write_to_binlog or local can be better for alter table optimize table.</p>
<p>To bad it is not supported as a flag for all commands as you may be willing to run without replication any kind of command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-179118</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 19 Oct 2007 23:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-179118</guid>
		<description>I highly recommend using local or no_write_to_binlog instead of disabling binary logging before altering the table, it prevents headaches, and forgetfulness causing problems later on.

Michael</description>
		<content:encoded><![CDATA[<p>I highly recommend using local or no_write_to_binlog instead of disabling binary logging before altering the table, it prevents headaches, and forgetfulness causing problems later on.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-177205</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Sat, 13 Oct 2007 21:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-177205</guid>
		<description>Yes, it would be great to have at least parts of Google&#039;s patches added.  Right now (most of you readers know this, but for those who don&#039;t) you have no idea how &quot;close to the ceiling&quot; you are with replication.  You find out when the slave abruptly can&#039;t keep up anymore.</description>
		<content:encoded><![CDATA[<p>Yes, it would be great to have at least parts of Google&#8217;s patches added.  Right now (most of you readers know this, but for those who don&#8217;t) you have no idea how &#8220;close to the ceiling&#8221; you are with replication.  You find out when the slave abruptly can&#8217;t keep up anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-176977</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 13 Oct 2007 08:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-176977</guid>
		<description>Thanks Mark,

Hopefully you will be able to get your patch accepted soon.</description>
		<content:encoded><![CDATA[<p>Thanks Mark,</p>
<p>Hopefully you will be able to get your patch accepted soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/comment-page-1/#comment-176860</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Fri, 12 Oct 2007 21:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/10/12/managing-slave-lag-with-mysql-replication/#comment-176860</guid>
		<description>If we can get the &#039;SHOW USER_STATISTICS&#039; functionality from the Google patch into MySQL, then you can compute replication load average using the Busy_time output for the system user and Uptime as reported by SHOW STATUS. Busy_time is the number of seconds that user had been running SQL statements.

I had not thought of monitoring this before. It is a great idea.</description>
		<content:encoded><![CDATA[<p>If we can get the &#8216;SHOW USER_STATISTICS&#8217; functionality from the Google patch into MySQL, then you can compute replication load average using the Busy_time output for the system user and Uptime as reported by SHOW STATUS. Busy_time is the number of seconds that user had been running SQL statements.</p>
<p>I had not thought of monitoring this before. It is a great idea.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
