<?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: How would you compress your MySQL Backup</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Mon, 22 Mar 2010 01:05:15 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steven</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-714474</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Tue, 26 Jan 2010 05:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-714474</guid>
		<description>Would be nice to see rzip / lrzip from tridge.  http://rzip.samba.org/</description>
		<content:encoded><![CDATA[<p>Would be nice to see rzip / lrzip from tridge.  <a href="http://rzip.samba.org/" rel="nofollow">http://rzip.samba.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge Knystautas</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-368028</link>
		<dc:creator>Serge Knystautas</dc:creator>
		<pubDate>Wed, 29 Oct 2008 16:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-368028</guid>
		<description>I saw the LZO SMP reference, so thought I&#039;d look up the GZIP equivalent...

http://lemley.net/mgzip.html

My servers are all multicores and I&#039;m wondering with my next backup if I can&#039;t accelerate GZIP significantly by spreading is across multiple cores and get closer to that 100MB/s SATA speed.</description>
		<content:encoded><![CDATA[<p>I saw the LZO SMP reference, so thought I&#8217;d look up the GZIP equivalent&#8230;</p>
<p><a href="http://lemley.net/mgzip.html" rel="nofollow">http://lemley.net/mgzip.html</a></p>
<p>My servers are all multicores and I&#8217;m wondering with my next backup if I can&#8217;t accelerate GZIP significantly by spreading is across multiple cores and get closer to that 100MB/s SATA speed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lasse Reinhold</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-317885</link>
		<dc:creator>Lasse Reinhold</dc:creator>
		<pubDate>Wed, 25 Jun 2008 22:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-317885</guid>
		<description>I&#039;m creating a high performance file archiver, qpress, which uses asynchronous I/O (reader and writer thread). On Windows it&#039;s also non-buffered to prevent the cache of other server applications from being flushed. It&#039;s using the QuickLZ 1.40 compression library and is intended for speed, not good compression ratio.

I&#039;d be glad for any feedback on performance, bugs or ideas for new feature. Download a prototype at:

www.quicklz.com/qpress.zip</description>
		<content:encoded><![CDATA[<p>I&#8217;m creating a high performance file archiver, qpress, which uses asynchronous I/O (reader and writer thread). On Windows it&#8217;s also non-buffered to prevent the cache of other server applications from being flushed. It&#8217;s using the QuickLZ 1.40 compression library and is intended for speed, not good compression ratio.</p>
<p>I&#8217;d be glad for any feedback on performance, bugs or ideas for new feature. Download a prototype at:</p>
<p><a href="http://www.quicklz.com/qpress.zip" rel="nofollow">http://www.quicklz.com/qpress.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-317271</link>
		<dc:creator>joel</dc:creator>
		<pubDate>Tue, 24 Jun 2008 21:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-317271</guid>
		<description>I actually ran into this problem a few days ago.  While taring a lvm snapshot one of my cores was pegged at 100%.  After a bit of googleling I found the above mentioned pigz.  Using it I cut my backup time to 1/4 of the original time.  Backups with pigz are restorable with regular old gzip.  There is also a parallel bzip2 out there, pbzip2, but I did not try it as it does not accept stdin.</description>
		<content:encoded><![CDATA[<p>I actually ran into this problem a few days ago.  While taring a lvm snapshot one of my cores was pegged at 100%.  After a bit of googleling I found the above mentioned pigz.  Using it I cut my backup time to 1/4 of the original time.  Backups with pigz are restorable with regular old gzip.  There is also a parallel bzip2 out there, pbzip2, but I did not try it as it does not accept stdin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: art</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-314112</link>
		<dc:creator>art</dc:creator>
		<pubDate>Mon, 16 Jun 2008 09:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-314112</guid>
		<description>What about rar?</description>
		<content:encoded><![CDATA[<p>What about rar?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-313017</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-313017</guid>
		<description>Mamatha,

The compression ration depends on data a lot. For all compressors I tested I specified the result file size.  Raw file was 1GB.</description>
		<content:encoded><![CDATA[<p>Mamatha,</p>
<p>The compression ration depends on data a lot. For all compressors I tested I specified the result file size.  Raw file was 1GB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mamatha</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-312920</link>
		<dc:creator>Mamatha</dc:creator>
		<pubDate>Fri, 13 Jun 2008 08:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-312920</guid>
		<description>I wanted to know the compression ratio of LZO. IF I have a file of 12 MB , what is the size of the compressed file?</description>
		<content:encoded><![CDATA[<p>I wanted to know the compression ratio of LZO. IF I have a file of 12 MB , what is the size of the compressed file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffatrackaid</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-312045</link>
		<dc:creator>jeffatrackaid</dc:creator>
		<pubDate>Tue, 10 Jun 2008 17:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-312045</guid>
		<description>We are usually pulling backups from slaves who&#039;s main purpose is backups, so I&#039;ve not done may benchmarks.  But on some standalone boxes where I have to compress a large amount of data, I sometimes nice my process to a friendly level. Not sure if this really makes much of an impact, just a habit I developed.  There is another interesting tool called 7zip (http://www.7-zip.org/).  Windows and Linux friendly. I&#039;ve not benchmarked it for speed but the native format does very well on HTML files -- pushed 3GBs of HTML into just 30MB.</description>
		<content:encoded><![CDATA[<p>We are usually pulling backups from slaves who&#8217;s main purpose is backups, so I&#8217;ve not done may benchmarks.  But on some standalone boxes where I have to compress a large amount of data, I sometimes nice my process to a friendly level. Not sure if this really makes much of an impact, just a habit I developed.  There is another interesting tool called 7zip (<a href="http://www.7-zip.org/" rel="nofollow">http://www.7-zip.org/</a>).  Windows and Linux friendly. I&#8217;ve not benchmarked it for speed but the native format does very well on HTML files &#8212; pushed 3GBs of HTML into just 30MB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyo</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-310661</link>
		<dc:creator>Kyo</dc:creator>
		<pubDate>Sun, 08 Jun 2008 18:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-310661</guid>
		<description>I consider bzip2 obsolete for all practical purposes, at least as far as my machines are involved. LZMA is so much faster (especially at decompressing) while often compressing even much better than bzip2 that the only use of bzip2 that I still have is for exchanging data with the outside world. If you are not too picky about the format (I am not, at least for archival purposes) and very demanding as far as speed is concerned, p7zip wonderfully exploits multiple cores for both compression and decompression - try it on a quad core machine. ;-) Other than that, GNU tar now also integrates LZMA, as far as I know. And SUSE, for example. decided to go with LZMA in RPM payload in the upcoming release of their distro. The packages are often much smaller and install somewhere from two to three times faster.</description>
		<content:encoded><![CDATA[<p>I consider bzip2 obsolete for all practical purposes, at least as far as my machines are involved. LZMA is so much faster (especially at decompressing) while often compressing even much better than bzip2 that the only use of bzip2 that I still have is for exchanging data with the outside world. If you are not too picky about the format (I am not, at least for archival purposes) and very demanding as far as speed is concerned, p7zip wonderfully exploits multiple cores for both compression and decompression &#8211; try it on a quad core machine. <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Other than that, GNU tar now also integrates LZMA, as far as I know. And SUSE, for example. decided to go with LZMA in RPM payload in the upcoming release of their distro. The packages are often much smaller and install somewhere from two to three times faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/06/05/how-would-you-compress-your-mysql-backup/comment-page-1/#comment-310656</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sun, 08 Jun 2008 17:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=411#comment-310656</guid>
		<description>Pat,

If you&#039;re using MyISAM you need to do:

FLUSH TABLES WITH READ LOCK;
&lt;create snapshot&gt;
UNLOCK TABLES

This means there will be short (or long) read only moment but there will be no MyISAM corruption.

BTW - tools like mylvmbackup already can do this for you and implement various tricks to make the read only time shorter.</description>
		<content:encoded><![CDATA[<p>Pat,</p>
<p>If you&#8217;re using MyISAM you need to do:</p>
<p>FLUSH TABLES WITH READ LOCK;<br />
<create snapshot><br />
UNLOCK TABLES</p>
<p>This means there will be short (or long) read only moment but there will be no MyISAM corruption.</p>
<p>BTW &#8211; tools like mylvmbackup already can do this for you and implement various tricks to make the read only time shorter.</create></p>
]]></content:encoded>
	</item>
</channel>
</rss>
