<?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: Compressing mysqldump output</title> <atom:link href="http://www.ducea.com/2006/10/28/compressing-mysqldump-output/feed/" rel="self" type="application/rss+xml" /><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/</link> <description>The Journal Of A Linux Sysadmin</description> <lastBuildDate>Wed, 10 Mar 2010 10:46:44 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Les commandes Linux qui vous feront gagner du temps</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-181523</link> <dc:creator>Les commandes Linux qui vous feront gagner du temps</dc:creator> <pubDate>Tue, 19 Jan 2010 13:36:17 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-181523</guid> <description>[...] Plus d&#8217;infos ici [...]</description> <content:encoded><![CDATA[<p>[...] Plus d&#8217;infos ici [...]</p> ]]></content:encoded> </item> <item><title>By: Compressing mysqldump output &#124; MDLog:/sysadmin</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-86082</link> <dc:creator>Compressing mysqldump output &#124; MDLog:/sysadmin</dc:creator> <pubDate>Tue, 02 Oct 2007 23:23:33 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-86082</guid> <description>&lt;strong&gt;Tektag / paddy...&lt;/strong&gt;The result of mysqldump is a flat text file containing the sql commands used to restore the mysql databases/tables that were dumped. Normally the result of mysqldump is compressed (in regular backups) because the size of the resulted file is normally b...</description> <content:encoded><![CDATA[<p><strong>Tektag / paddy&#8230;</strong></p><p>The result of mysqldump is a flat text file containing the sql commands used to restore the mysql databases/tables that were dumped. Normally the result of mysqldump is compressed (in regular backups) because the size of the resulted file is normally b&#8230;</p> ]]></content:encoded> </item> <item><title>By: MySQL - Restore from Compressed Backup &#171; Mike R&#8217;s Blog</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-15135</link> <dc:creator>MySQL - Restore from Compressed Backup &#171; Mike R&#8217;s Blog</dc:creator> <pubDate>Mon, 15 Jan 2007 19:29:21 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-15135</guid> <description>[...] References Compressing mysqldump output [...]</description> <content:encoded><![CDATA[<p>[...] References Compressing mysqldump output [...]</p> ]]></content:encoded> </item> <item><title>By: Binary Look &#187; links for 2006-11-08</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-7244</link> <dc:creator>Binary Look &#187; links for 2006-11-08</dc:creator> <pubDate>Wed, 08 Nov 2006 22:23:23 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-7244</guid> <description>[...] Compressing mysqldump output &#124; MDLog:/sysadmin ÐšÐ¾Ð¼Ð¿Ñ€ÐµÑÑÐ¸Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð° Ñ€ÐµÐ·ÑƒÐ»ÑŒÑ‚Ð°Ñ‚Ð¾Ð² Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ mysqldump (tags: mysql mysqldump ÐºÐ¾Ð¼Ð¿Ñ€ÐµÑÑÐ¸Ñ Ð±Ð°Ð·Ñ‹_Ð´Ð°Ð½Ð½Ñ‹Ñ…) [...]</description> <content:encoded><![CDATA[<p>[...] Compressing mysqldump output | MDLog:/sysadmin ÐšÐ¾Ð¼Ð¿Ñ€ÐµÑÑÐ¸Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð° Ñ€ÐµÐ·ÑƒÐ»ÑŒÑ‚Ð°Ñ‚Ð¾Ð² Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ mysqldump (tags: mysql mysqldump ÐºÐ¾Ð¼Ð¿Ñ€ÐµÑÑÐ¸Ñ Ð±Ð°Ð·Ñ‹_Ð´Ð°Ð½Ð½Ñ‹Ñ…) [...]</p> ]]></content:encoded> </item> <item><title>By: - Marius -</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-6319</link> <dc:creator>- Marius -</dc:creator> <pubDate>Tue, 31 Oct 2006 14:46:29 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-6319</guid> <description>Dez,Thank you for your pertinent comment.
Here is just one quick addition:The default level of compression on gzip is &lt;strong&gt;6&lt;/strong&gt;, that is normally a very  good compromise between speed and the level of compression. But of course one can increase that up to 9 to get a better compression value. Also the --fast (=1) --best (=9) literal values can be used.Cheers,
- Marius -</description> <content:encoded><![CDATA[<p>Dez,</p><p>Thank you for your pertinent comment.<br
/> Here is just one quick addition:</p><p>The default level of compression on gzip is <strong>6</strong>, that is normally a very  good compromise between speed and the level of compression. But of course one can increase that up to 9 to get a better compression value. Also the &#8211;fast (=1) &#8211;best (=9) literal values can be used.</p><p>Cheers,<br
/> - Marius -</p> ]]></content:encoded> </item> <item><title>By: Dez Blanchfield</title><link>http://www.ducea.com/2006/10/28/compressing-mysqldump-output/comment-page-1/#comment-6305</link> <dc:creator>Dez Blanchfield</dc:creator> <pubDate>Tue, 31 Oct 2006 11:14:28 +0000</pubDate> <guid
isPermaLink="false">http://www.ducea.com/2006/10/28/compressing-mysqldump-output/#comment-6305</guid> <description>gzip -v -9-9 tells GZIP to attempt the highest possible levels of compression, which with 7 bit ASCII &quot;text&quot; can produce up to 90%+ compression.so your example of:gzip -v outputfile.sqlwould reap far better disk space economies if you used:gzip -v -9 outputfile.sqlbut of course you will have a higher CPU load with the additional work required to gain the highest possible levels of compression GZIP can produce.if CPU load is an issue, try lower levels of compression, test from -4 to -7 for example.The nice thing about this is that GZIP doesn&#039;t need any additional CLI options / arguments to be able to decompress a higher compression ratio .gz file, so your example of :gunzip -v outputfile.sql.gzwill still work a treat, as GZIP figures it all out without having to be told gunzip -v -9 for example.bz2 will give you even higher compression with 7 and 8 bit ASCII, but bz2 is not always on every box you might need to restore your .gz files to.Then again GZIP may not be on all systems either.A note for the safety nazi&#039;s among you, if you&#039;re ultra paranoid but still want to compress your MySQL dbdumps, consider using standard Unix &quot;compress&quot; - it&#039;s on 100% of the available Unix and Unix like OS&#039;s, or GNU/Linux distributions for example, and although it&#039;s compression is not as good as GZIP, or BZ2, it is compatible accross all Unix platforms. It can even survive a little endian to big endian flip, from say x86 to PPC, without issue.One wonders why dbdump doesn&#039;t have the capability to compress the output - can someone ( I don&#039;t have time ) perhaps write an additional &quot;feature&quot; for dbdump so you and do a &quot;dbdump -v -z -9 &gt; bigdbfile.gz and save a few steps ( did I really just say that? what am I thinking - pipe is your friend - tee bar&#039;s are god! ).Enjoy.Cheers,Dez---
http://www.blanchfield.com.au/
http://www.websearch.com.au/
http://www.websearch.co.nz/
http://www.cradletechnologies.com/
http://www.thestorageforum.com/</description> <content:encoded><![CDATA[<p>gzip -v -9</p><p>-9 tells GZIP to attempt the highest possible levels of compression, which with 7 bit ASCII &#8220;text&#8221; can produce up to 90%+ compression.</p><p>so your example of:</p><p> gzip -v outputfile.sql</p><p>would reap far better disk space economies if you used:</p><p> gzip -v -9 outputfile.sql</p><p>but of course you will have a higher CPU load with the additional work required to gain the highest possible levels of compression GZIP can produce.</p><p>if CPU load is an issue, try lower levels of compression, test from -4 to -7 for example.</p><p>The nice thing about this is that GZIP doesn&#8217;t need any additional CLI options / arguments to be able to decompress a higher compression ratio .gz file, so your example of :</p><p> gunzip -v outputfile.sql.gz</p><p>will still work a treat, as GZIP figures it all out without having to be told gunzip -v -9 for example.</p><p>bz2 will give you even higher compression with 7 and 8 bit ASCII, but bz2 is not always on every box you might need to restore your .gz files to.</p><p>Then again GZIP may not be on all systems either.</p><p>A note for the safety nazi&#8217;s among you, if you&#8217;re ultra paranoid but still want to compress your MySQL dbdumps, consider using standard Unix &#8220;compress&#8221; &#8211; it&#8217;s on 100% of the available Unix and Unix like OS&#8217;s, or GNU/Linux distributions for example, and although it&#8217;s compression is not as good as GZIP, or BZ2, it is compatible accross all Unix platforms. It can even survive a little endian to big endian flip, from say x86 to PPC, without issue.</p><p>One wonders why dbdump doesn&#8217;t have the capability to compress the output &#8211; can someone ( I don&#8217;t have time ) perhaps write an additional &#8220;feature&#8221; for dbdump so you and do a &#8220;dbdump -v -z -9 &gt; bigdbfile.gz and save a few steps ( did I really just say that? what am I thinking &#8211; pipe is your friend &#8211; tee bar&#8217;s are god! ).</p><p>Enjoy.</p><p>Cheers,</p><p>Dez</p><p>&#8212;<br
/> <a
href="http://www.blanchfield.com.au/" rel="nofollow">http://www.blanchfield.com.au/</a><br
/> <a
href="http://www.websearch.com.au/" rel="nofollow">http://www.websearch.com.au/</a><br
/> <a
href="http://www.websearch.co.nz/" rel="nofollow">http://www.websearch.co.nz/</a><br
/> <a
href="http://www.cradletechnologies.com/" rel="nofollow">http://www.cradletechnologies.com/</a><br
/> <a
href="http://www.thestorageforum.com/" rel="nofollow">http://www.thestorageforum.com/</a></p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 9/20 queries in 0.013 seconds using memcached

Served from: www.ducea.com @ 2010-03-10 13:10:06 -->