<?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: MySQL Replication Series (tip #1): what should be replicated and what should not be replicated?</title>
	<atom:link href="http://crazytoon.com/2008/04/21/mysql-replication-replicate-by-choice/feed/" rel="self" type="application/rss+xml" />
	<link>http://crazytoon.com/2008/04/21/mysql-replication-replicate-by-choice/</link>
	<description>Enterprise level solutions, LAMP, Linux, Apache, MySQL, PHP, Perl, Windows, Cache, Optimization</description>
	<lastBuildDate>Thu, 25 Feb 2010 17:26:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vanzan</title>
		<link>http://crazytoon.com/2008/04/21/mysql-replication-replicate-by-choice/comment-page-1/#comment-865</link>
		<dc:creator>Vanzan</dc:creator>
		<pubDate>Tue, 18 Aug 2009 02:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/?p=62#comment-865</guid>
		<description>Watchout with &quot;replicate-do-db&quot; when using mysql 4.1 !!
I must add a few precisions :
Because database names can contain commas (at least in 4.1), if you supply a comma separated list then the list will be treated as the name of a single database !! (not what we want at all)
To specify more than one database, use this option multiple times, once for each database.

Hope that helps</description>
		<content:encoded><![CDATA[<p>Watchout with &#8220;replicate-do-db&#8221; when using mysql 4.1 !!<br />
I must add a few precisions :<br />
Because database names can contain commas (at least in 4.1), if you supply a comma separated list then the list will be treated as the name of a single database !! (not what we want at all)<br />
To specify more than one database, use this option multiple times, once for each database.</p>
<p>Hope that helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sheeri</title>
		<link>http://crazytoon.com/2008/04/21/mysql-replication-replicate-by-choice/comment-page-1/#comment-665</link>
		<dc:creator>Sheeri</dc:creator>
		<pubDate>Wed, 23 Apr 2008 05:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/?p=62#comment-665</guid>
		<description>just some notes:

1)  be careful with the binlog-do-db settings -- you&#039;re usually better off not constricting what the master sends, because what you don&#039;t want replicated to database A today, you may want replicated to database B tomorrow.  There are exceptions to this, certainly, but it&#039;s not a bad rule to start with.

2)  using &quot;IF EXISTS&quot; and &quot;IF NOT EXISTS&quot; can really help avoid replication issues with queries like &quot;DROP TABLE IF EXISTS&quot; since if it doesn&#039;t exist, you don&#039;t want replication to break, you just want the server to move on.</description>
		<content:encoded><![CDATA[<p>just some notes:</p>
<p>1)  be careful with the binlog-do-db settings &#8212; you&#8217;re usually better off not constricting what the master sends, because what you don&#8217;t want replicated to database A today, you may want replicated to database B tomorrow.  There are exceptions to this, certainly, but it&#8217;s not a bad rule to start with.</p>
<p>2)  using &#8220;IF EXISTS&#8221; and &#8220;IF NOT EXISTS&#8221; can really help avoid replication issues with queries like &#8220;DROP TABLE IF EXISTS&#8221; since if it doesn&#8217;t exist, you don&#8217;t want replication to break, you just want the server to move on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Russakovskii</title>
		<link>http://crazytoon.com/2008/04/21/mysql-replication-replicate-by-choice/comment-page-1/#comment-663</link>
		<dc:creator>Artem Russakovskii</dc:creator>
		<pubDate>Tue, 22 Apr 2008 03:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://crazytoon.com/?p=62#comment-663</guid>
		<description>It&#039;s also worth noting that starting with 5.1.21, you can also replicate only certain columns in tables.

If a table on a slave has less columns than the one onf the master, extra ones will be ignored (I&#039;m assuming each query in the binlog will then just go through the filter to get those extra columns stripped off).

If the slave has more columns, they need to have default values.

http://dev.mysql.com/doc/refman/5.1/en/replication-features-differing-tables.html</description>
		<content:encoded><![CDATA[<p>It&#8217;s also worth noting that starting with 5.1.21, you can also replicate only certain columns in tables.</p>
<p>If a table on a slave has less columns than the one onf the master, extra ones will be ignored (I&#8217;m assuming each query in the binlog will then just go through the filter to get those extra columns stripped off).</p>
<p>If the slave has more columns, they need to have default values.</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/replication-features-differing-tables.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/replication-features-differing-tables.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
