<?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"
	>
<channel>
	<title>Comments on: Getting use of Slave in MySQL Replication</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Wed, 19 Nov 2008 23:41:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: hosting</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-358507</link>
		<dc:creator>hosting</dc:creator>
		<pubDate>Mon, 29 Sep 2008 01:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-358507</guid>
		<description>hosting thank you very much</description>
		<content:encoded><![CDATA[<p>hosting thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sohbet</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-355618</link>
		<dc:creator>sohbet</dc:creator>
		<pubDate>Tue, 16 Sep 2008 21:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-355618</guid>
		<description>This can be very useful if you divide the tables in a database to difference slaves. Using the slave as much as possible greatly increases the chance most data is in cached in memory whereas the same query could be really, really slow on the master because it might not have much of it in cache</description>
		<content:encoded><![CDATA[<p>This can be very useful if you divide the tables in a database to difference slaves. Using the slave as much as possible greatly increases the chance most data is in cached in memory whereas the same query could be really, really slow on the master because it might not have much of it in cache</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-138409</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 22 Jun 2007 19:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-138409</guid>
		<description>Not yet to be honest. I did not try 5.1 -&gt; 5.0     Generally to be safe you better have Slaves at same or higher revision than the master.</description>
		<content:encoded><![CDATA[<p>Not yet to be honest. I did not try 5.1 -> 5.0     Generally to be safe you better have Slaves at same or higher revision than the master.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jojo</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-138210</link>
		<dc:creator>Jojo</dc:creator>
		<pubDate>Fri, 22 Jun 2007 04:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-138210</guid>
		<description>Quick question. Have you tried replicating from 5.1 (master) to 5.0.xx (slave)? I'm planning to do a downgrade of our existing db due to some problems I'm experiencing on 5.1. I'm planning to create a replica first then cutover to the replicas so as to minimize downtime.

Looking forward to your reply. Thanks.</description>
		<content:encoded><![CDATA[<p>Quick question. Have you tried replicating from 5.1 (master) to 5.0.xx (slave)? I&#8217;m planning to do a downgrade of our existing db due to some problems I&#8217;m experiencing on 5.1. I&#8217;m planning to create a replica first then cutover to the replicas so as to minimize downtime.</p>
<p>Looking forward to your reply. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135210</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135210</guid>
		<description>That delay become random and once per 2-3 days, now we researching about.

Thankx.</description>
		<content:encoded><![CDATA[<p>That delay become random and once per 2-3 days, now we researching about.</p>
<p>Thankx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135205</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135205</guid>
		<description>Dmitry,

If replication is that delayed you need to tune it first as semi synchronous replication will cral very slow in such case.</description>
		<content:encoded><![CDATA[<p>Dmitry,</p>
<p>If replication is that delayed you need to tune it first as semi synchronous replication will cral very slow in such case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135197</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Thu, 14 Jun 2007 14:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135197</guid>
		<description>Thanks, Peter. Will test it, cause delays sometimes 5 seconds before in slave appears this row.</description>
		<content:encoded><![CDATA[<p>Thanks, Peter. Will test it, cause delays sometimes 5 seconds before in slave appears this row.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135182</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 14 Jun 2007 13:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-135182</guid>
		<description>Dmitry,

Check Google Semi-Synchronous replication patches.</description>
		<content:encoded><![CDATA[<p>Dmitry,</p>
<p>Check Google Semi-Synchronous replication patches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-134974</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Wed, 13 Jun 2007 21:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-134974</guid>
		<description>Exists any ways to create synced replication without delays or lags with mysql ?</description>
		<content:encoded><![CDATA[<p>Exists any ways to create synced replication without delays or lags with mysql ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-53354</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 17 Feb 2007 08:44:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/02/14/getting-use-of-slave-in-mysql-replication/#comment-53354</guid>
		<description>James there are many different circumstances out where.  You may have just one slave in which case it might not overload master too badly.  There are also different cases about reading stale data - in some cases you can use it if you have no choice in others it is absolutely critical data is reasonably recent. 

The thing is even non-critical queries might allow only certain delay - can you really use the slave if it is lagging by a week ? (And I've seen even worse cases).   

Designing how slaves are usage you should of course take your normal lag spikes in account - if you have nightly job which does 10min update queries - this will be normal lag time for you which does not cause switching. 

Regarding Alter Table - if it is long, in most cases the good idea is to run it on the slaves separately from the master and exclude it from replication.</description>
		<content:encoded><![CDATA[<p>James there are many different circumstances out where.  You may have just one slave in which case it might not overload master too badly.  There are also different cases about reading stale data - in some cases you can use it if you have no choice in others it is absolutely critical data is reasonably recent. </p>
<p>The thing is even non-critical queries might allow only certain delay - can you really use the slave if it is lagging by a week ? (And I&#8217;ve seen even worse cases).   </p>
<p>Designing how slaves are usage you should of course take your normal lag spikes in account - if you have nightly job which does 10min update queries - this will be normal lag time for you which does not cause switching. </p>
<p>Regarding Alter Table - if it is long, in most cases the good idea is to run it on the slaves separately from the master and exclude it from replication.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
