<?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: Just how useful are binary logs for incremental backups?</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/</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: Robert Hodges</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614439</link>
		<dc:creator>Robert Hodges</dc:creator>
		<pubDate>Wed, 22 Jul 2009 21:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614439</guid>
		<description>Hi Morgan, 

Have you tried Tungsten Replicator?  It has built-in time-delay replication.  Also, it now has built-in backup/restore support (checked in; will be in an official build shortly).  I&#039;m going to look at putting in support for invoking XtraBackup as it seems pretty good, especially the incremental capacity. 

Finally, as Peter mentioned, running replication anywhere near full capacity is asking for trouble.  One thing we are planning for later in the year in Tungsten is to split events into different &quot;channels&quot; for replication in parallel.  Parallel replication seems to be particularly helpful when you have events that are truly slow, such as DDL, or for replication of data that are already sharded.</description>
		<content:encoded><![CDATA[<p>Hi Morgan, </p>
<p>Have you tried Tungsten Replicator?  It has built-in time-delay replication.  Also, it now has built-in backup/restore support (checked in; will be in an official build shortly).  I&#8217;m going to look at putting in support for invoking XtraBackup as it seems pretty good, especially the incremental capacity. </p>
<p>Finally, as Peter mentioned, running replication anywhere near full capacity is asking for trouble.  One thing we are planning for later in the year in Tungsten is to split events into different &#8220;channels&#8221; for replication in parallel.  Parallel replication seems to be particularly helpful when you have events that are truly slow, such as DDL, or for replication of data that are already sharded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Swanhart</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614402</link>
		<dc:creator>Justin Swanhart</dc:creator>
		<pubDate>Wed, 22 Jul 2009 19:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614402</guid>
		<description>I&#039;m curious why the implementation notes in that workload preclude UPDATE.  UPDATE can be logically decomposed into DELETE followed by INSERT.  This doesn&#039;t inhibit transaction serialization.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious why the implementation notes in that workload preclude UPDATE.  UPDATE can be logically decomposed into DELETE followed by INSERT.  This doesn&#8217;t inhibit transaction serialization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614397</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 22 Jul 2009 19:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614397</guid>
		<description>Just to mention that Xtrabackup incremental backups do not backup MyISAM/ARCHIVE tables (yet), and so provide incremental backup only fo InnoDB tables.</description>
		<content:encoded><![CDATA[<p>Just to mention that Xtrabackup incremental backups do not backup MyISAM/ARCHIVE tables (yet), and so provide incremental backup only fo InnoDB tables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morgan Tocker</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614362</link>
		<dc:creator>Morgan Tocker</dc:creator>
		<pubDate>Wed, 22 Jul 2009 13:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614362</guid>
		<description>@Peter - Yes, I chose a pretty harsh set of number for the purpose of illustration - but there are a lot of people in this category.  If we follow your advice, and repeat the math with 50% slave load (peak), 30% slave load (off peak), it doesn&#039;t look as bad:

To replay logs: (12 * 0.50) + (12 * 0.30) = 9h36m
For slave to come online: (each day has 24hr-9h36m = 14h24m â€œfreeâ€ capacity, will be online in less than a day).

@Daniellek - I think your solution is a good one.  Always have a slave with no load up to date and ready to clone from.  You still need to remember that it doesn&#039;t count as a backup.  There&#039;s a range of problems (i.e. accidental/malicious delete) that you need to build a strategy for and cope with.</description>
		<content:encoded><![CDATA[<p>@Peter &#8211; Yes, I chose a pretty harsh set of number for the purpose of illustration &#8211; but there are a lot of people in this category.  If we follow your advice, and repeat the math with 50% slave load (peak), 30% slave load (off peak), it doesn&#8217;t look as bad:</p>
<p>To replay logs: (12 * 0.50) + (12 * 0.30) = 9h36m<br />
For slave to come online: (each day has 24hr-9h36m = 14h24m â€œfreeâ€ capacity, will be online in less than a day).</p>
<p>@Daniellek &#8211; I think your solution is a good one.  Always have a slave with no load up to date and ready to clone from.  You still need to remember that it doesn&#8217;t count as a backup.  There&#8217;s a range of problems (i.e. accidental/malicious delete) that you need to build a strategy for and cope with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniellek</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614357</link>
		<dc:creator>Daniellek</dc:creator>
		<pubDate>Wed, 22 Jul 2009 08:51:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614357</guid>
		<description>Hardcore (but working) solution:
Setup: Master+2 slaves (one slave is &quot;production&quot;, and the other is &quot;backup&quot;)

mysql-backup stop
tar czvf ....
mysql-backup start</description>
		<content:encoded><![CDATA[<p>Hardcore (but working) solution:<br />
Setup: Master+2 slaves (one slave is &#8220;production&#8221;, and the other is &#8220;backup&#8221;)</p>
<p>mysql-backup stop<br />
tar czvf &#8230;.<br />
mysql-backup start</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/07/21/just-how-useful-are-binary-logs-for-incremental-backups/comment-page-1/#comment-614355</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 22 Jul 2009 05:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=843#comment-614355</guid>
		<description>Morgan,

I would mention if you&#039;re running your slave at 90% capacity during peak load you&#039;re looking for trouble big deal.

I would highly recommend slave thread busy no more than 30-50%   - this makes sure you have at least some time to take an action as load or data size growths.  With 90% you can wake up one morning and see things never catch up :)</description>
		<content:encoded><![CDATA[<p>Morgan,</p>
<p>I would mention if you&#8217;re running your slave at 90% capacity during peak load you&#8217;re looking for trouble big deal.</p>
<p>I would highly recommend slave thread busy no more than 30-50%   &#8211; this makes sure you have at least some time to take an action as load or data size growths.  With 90% you can wake up one morning and see things never catch up <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

