<?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: Disaster:  LVM Performance in Snapshot Mode</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/</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: hawaii</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-2/#comment-799952</link>
		<dc:creator>hawaii</dc:creator>
		<pubDate>Thu, 24 Feb 2011 17:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-799952</guid>
		<description>Hi Peter,
the mk-table-checksum tool is something I already have in place in my replication concept. So good to see I&#039;m on the right way there.
I will take a look on xtrabackup as well and will compare it to the LVM solution. Restore time is the most important thing so far.

Thank you all!</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
the mk-table-checksum tool is something I already have in place in my replication concept. So good to see I&#8217;m on the right way there.<br />
I will take a look on xtrabackup as well and will compare it to the LVM solution. Restore time is the most important thing so far.</p>
<p>Thank you all!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Zaitsev</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-2/#comment-799947</link>
		<dc:creator>Peter Zaitsev</dc:creator>
		<pubDate>Thu, 24 Feb 2011 16:50:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-799947</guid>
		<description>Hawaii,

Using Slave for backups is common solution. One thing to mind is you better ensure you&#039;re checking your replication is in sync with mk-table-checksum or other tools.  There are many reasons replication may go silently our of sync and you do not want to discover that just after restore.

If you&#039;re using Innodb also check out xtrabackup it has lower overhead than LVM and it also has throttling you can use to limit the impact it has on production.</description>
		<content:encoded><![CDATA[<p>Hawaii,</p>
<p>Using Slave for backups is common solution. One thing to mind is you better ensure you&#8217;re checking your replication is in sync with mk-table-checksum or other tools.  There are many reasons replication may go silently our of sync and you do not want to discover that just after restore.</p>
<p>If you&#8217;re using Innodb also check out xtrabackup it has lower overhead than LVM and it also has throttling you can use to limit the impact it has on production.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hawaii</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-2/#comment-799943</link>
		<dc:creator>hawaii</dc:creator>
		<pubDate>Thu, 24 Feb 2011 16:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-799943</guid>
		<description>Thank you LenZ. That&#039;s what I have already in place. I kust wanted to confirm LVM snapshot backup is still the way to go for large scale mysql databases.</description>
		<content:encoded><![CDATA[<p>Thank you LenZ. That&#8217;s what I have already in place. I kust wanted to confirm LVM snapshot backup is still the way to go for large scale mysql databases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LenZ</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-2/#comment-799942</link>
		<dc:creator>LenZ</dc:creator>
		<pubDate>Thu, 24 Feb 2011 16:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-799942</guid>
		<description>@hawaii: If you can&#039;t afford the performance impact (which many users can&#039;t), you&#039;re probably better off by setting up a replication slave for backup purposes (it can of course be used for other things as well). This gives you much more flexibility, since the choice of the backup method is no longer restricted by any limitations you might face on the master server. You could even take the replication slave down for the time of the backup, it would automatically resync/catch up after you turn it on again.</description>
		<content:encoded><![CDATA[<p>@hawaii: If you can&#8217;t afford the performance impact (which many users can&#8217;t), you&#8217;re probably better off by setting up a replication slave for backup purposes (it can of course be used for other things as well). This gives you much more flexibility, since the choice of the backup method is no longer restricted by any limitations you might face on the master server. You could even take the replication slave down for the time of the backup, it would automatically resync/catch up after you turn it on again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hawaii</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-2/#comment-799939</link>
		<dc:creator>hawaii</dc:creator>
		<pubDate>Thu, 24 Feb 2011 16:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-799939</guid>
		<description>I am looking for a proper solution to create backups of a mysql database with around 150G of data. After some reading LVM snapshots was my first choice as I can&#039;t afford longer downtime. Also logical backups with mysqldump are not an option as restore time would be just insane (although I have them for worst case scenario).

While reading across the topic I stumbled over this thread, so for now I&#039;m quite sceptic.
Once the snapshot would be taken, the DB would need to go right into production again so I can&#039;t afford any performance loss while taking the backup of the snapshot.
So I guess the only thing helping me out would be something like a backup slave just dedicated for backups?
All other solutions don&#039;t seem to be a go for larger scale DB&#039;s or am I missing something?

I would be thankful for a head-up on this.

Best</description>
		<content:encoded><![CDATA[<p>I am looking for a proper solution to create backups of a mysql database with around 150G of data. After some reading LVM snapshots was my first choice as I can&#8217;t afford longer downtime. Also logical backups with mysqldump are not an option as restore time would be just insane (although I have them for worst case scenario).</p>
<p>While reading across the topic I stumbled over this thread, so for now I&#8217;m quite sceptic.<br />
Once the snapshot would be taken, the DB would need to go right into production again so I can&#8217;t afford any performance loss while taking the backup of the snapshot.<br />
So I guess the only thing helping me out would be something like a backup slave just dedicated for backups?<br />
All other solutions don&#8217;t seem to be a go for larger scale DB&#8217;s or am I missing something?</p>
<p>I would be thankful for a head-up on this.</p>
<p>Best</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LenZ</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-1/#comment-780988</link>
		<dc:creator>LenZ</dc:creator>
		<pubDate>Mon, 01 Nov 2010 11:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-780988</guid>
		<description>Brett: Sure, if you move the hot spots of activity to separate volumes, there will be less amount of data that has to be copied around while the snapshot exists. It also helps to remove the size required to keep a snapshot active. But it also means that you won&#039;t be able to create a consistent/atomic snapshot across all your data. If that&#039;s not a concern, it sounds like an option to look into.</description>
		<content:encoded><![CDATA[<p>Brett: Sure, if you move the hot spots of activity to separate volumes, there will be less amount of data that has to be copied around while the snapshot exists. It also helps to remove the size required to keep a snapshot active. But it also means that you won&#8217;t be able to create a consistent/atomic snapshot across all your data. If that&#8217;s not a concern, it sounds like an option to look into.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-1/#comment-780969</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Mon, 01 Nov 2010 07:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-780969</guid>
		<description>I know many of you here are talking about Databases setups etc, but on more generally loaded systems, webservers, email, etc would breaking down the size of Logical volumes relieve some of the problem? If you took a snapshot of an extremely large and active Logical Volume then the amount of IO changes would obviously be large and hence overall performance would drop during snapshots. But if you broke down your drives into many smaller Logical Volumes then the performance hit per snapshot (per logical volume) would be less overall. I am talking about more general purpose setups, not pure database systems. This is what I am currently looking at now as a possible way to relieve the snapshot &quot;blues&quot; for our servers. Rather than having one large logical volume I am considering breaking them down into many smaller logical volumes. Do people think this could be effective in reducing the performance hit of snapshots?</description>
		<content:encoded><![CDATA[<p>I know many of you here are talking about Databases setups etc, but on more generally loaded systems, webservers, email, etc would breaking down the size of Logical volumes relieve some of the problem? If you took a snapshot of an extremely large and active Logical Volume then the amount of IO changes would obviously be large and hence overall performance would drop during snapshots. But if you broke down your drives into many smaller Logical Volumes then the performance hit per snapshot (per logical volume) would be less overall. I am talking about more general purpose setups, not pure database systems. This is what I am currently looking at now as a possible way to relieve the snapshot &#8220;blues&#8221; for our servers. Rather than having one large logical volume I am considering breaking them down into many smaller logical volumes. Do people think this could be effective in reducing the performance hit of snapshots?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-1/#comment-778162</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 16 Oct 2010 05:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-778162</guid>
		<description>Mirrors,

mysql-bench is very poor tool for performance estimation for majority of workloads. It is using very small data set and in this case most of the tests will not be IO bound.  test-create calls fsync() for every table created which is likely why it is affected. Test with your real workload or similar on data set of your scale to get meaningful results.</description>
		<content:encoded><![CDATA[<p>Mirrors,</p>
<p>mysql-bench is very poor tool for performance estimation for majority of workloads. It is using very small data set and in this case most of the tests will not be IO bound.  test-create calls fsync() for every table created which is likely why it is affected. Test with your real workload or similar on data set of your scale to get meaningful results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mirrors</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-1/#comment-777819</link>
		<dc:creator>Mirrors</dc:creator>
		<pubDate>Thu, 14 Oct 2010 14:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-777819</guid>
		<description>Peter,
I tested mysql-bench suite,including test-create,test-insert,test-select,but only test-create suffered from LVM snapshot,and about 10 times slower.But it&#039;s seems that select/insert operations are not affected seriously.Is that right?</description>
		<content:encoded><![CDATA[<p>Peter,<br />
I tested mysql-bench suite,including test-create,test-insert,test-select,but only test-create suffered from LVM snapshot,and about 10 times slower.But it&#8217;s seems that select/insert operations are not affected seriously.Is that right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2009/02/05/disaster-lvm-performance-in-snapshot-mode/comment-page-1/#comment-770618</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 04 Aug 2010 02:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=610#comment-770618</guid>
		<description>Andreas,

Yes... The performance when you copy from snapshot often just drops to the floor.  You can check with different IO scheduler but in general I do not know perfect solution.
Consider Xtrabackup - we use it in many cases to avoid having penalty of LVM snapshot</description>
		<content:encoded><![CDATA[<p>Andreas,</p>
<p>Yes&#8230; The performance when you copy from snapshot often just drops to the floor.  You can check with different IO scheduler but in general I do not know perfect solution.<br />
Consider Xtrabackup &#8211; we use it in many cases to avoid having penalty of LVM snapshot</p>
]]></content:encoded>
	</item>
</channel>
</rss>

