<?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: Use flag –xml when you run mysqldump</title>
	<atom:link href="http://metaoptimize.com/blog/2009/10/14/use-flag-xml-when-you-run-mysqldump/feed/" rel="self" type="application/rss+xml" />
	<link>http://metaoptimize.com/blog/2009/10/14/use-flag-xml-when-you-run-mysqldump/</link>
	<description>building machine learning and natural language processing tools</description>
	<lastBuildDate>Fri, 04 May 2012 20:09:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael E Driscoll</title>
		<link>http://metaoptimize.com/blog/2009/10/14/use-flag-xml-when-you-run-mysqldump/comment-page-1/#comment-16</link>
		<dc:creator>Michael E Driscoll</dc:creator>
		<pubDate>Thu, 15 Oct 2009 01:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.metaoptimize.com/?p=60#comment-16</guid>
		<description>XML has its place (somewhere), but in this programmer&#039;s humble opinion, exporting tabular data is not one of them.


http://www.dataspora.com/blog/xml-and-big-data/</description>
		<content:encoded><![CDATA[<p>XML has its place (somewhere), but in this programmer’s humble opinion, exporting tabular data is not one of them.</p>
<p><a href="http://www.dataspora.com/blog/xml-and-big-data/" rel="nofollow">http://www.dataspora.com/blog/xml-and-big-data/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Turian</title>
		<link>http://metaoptimize.com/blog/2009/10/14/use-flag-xml-when-you-run-mysqldump/comment-page-1/#comment-15</link>
		<dc:creator>Joseph Turian</dc:creator>
		<pubDate>Wed, 14 Oct 2009 23:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.metaoptimize.com/?p=60#comment-15</guid>
		<description>In response to &lt;a href=&quot;http://groups.google.com/group/get-theinfo/browse_thread/thread/99c8a28bcaca685d&quot; rel=&quot;nofollow&quot;&gt;Joshua Reich&lt;/a&gt;:

Let me answer your last question first:

&gt; 4. Why aren&#039;t you using postgres ?

I was getting data from someone that uses MySQL.
Knowing what I know now, I believe should should have advised him to use the --xml flag.

&gt; 1. I am friends with awk &amp; pals, and stripping out INSERT .. VALUE from
&gt; mysql dumps that I get from people is no biggy

I am friends with perl, and you cannot simply split using /,/ to get your fields. The comma might be right in the middle of a string.

With XML, though, it is simple to grep for &lt;row&gt;, because you know 100% that &lt; will only be in the markup.

&gt; 2. I&#039;m pretty sure MySQL supports dumping table data as CSV (SELECT ...
&gt; OUTHOUSE &#039;/tmp/file.csv&#039; ...)

Same problems as above.

&gt; 3. For big data, XML is just silly big.

Why? It gzips easily.
Not being able to load it all into memory is less of an issue if it is easy to split the data using regular expressions.</description>
		<content:encoded><![CDATA[<p>In response to <a href="http://groups.google.com/group/get-theinfo/browse_thread/thread/99c8a28bcaca685d" rel="nofollow">Joshua Reich</a>:</p>
<p>Let me answer your last question first:</p>
<p>&gt; 4. Why aren’t you using postgres ?</p>
<p>I was getting data from someone that uses MySQL.<br />
Knowing what I know now, I believe should should have advised him to use the –xml flag.</p>
<p>&gt; 1. I am friends with awk &amp; pals, and stripping out INSERT .. VALUE from<br />
&gt; mysql dumps that I get from people is no biggy</p>
<p>I am friends with perl, and you cannot simply split using /,/ to get your fields. The comma might be right in the middle of a string.</p>
<p>With XML, though, it is simple to grep for &lt;row&gt;, because you know 100% that &lt; will only be in the markup.</p>
<p>&gt; 2. I’m pretty sure MySQL supports dumping table data as CSV (SELECT …<br />
&gt; OUTHOUSE ‘/tmp/file.csv’ …)</p>
<p>Same problems as above.</p>
<p>&gt; 3. For big data, XML is just silly big.</p>
<p>Why? It gzips easily.<br />
Not being able to load it all into memory is less of an issue if it is easy to split the data using regular expressions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
