<?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: mg_hot_replace_table.pl</title>
	<atom:link href="/2010/05/mg_hot_replace_table-pl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlfanboy.com/2010/05/mg_hot_replace_table-pl/</link>
	<description>Almost crazy about Opensource / Free  information.</description>
	<lastBuildDate>Sat, 18 Oct 2014 01:24:56 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>By: Log Buffer #188, a Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://www.mysqlfanboy.com/2010/05/mg_hot_replace_table-pl/comment-page-1/#comment-9</link>
		<dc:creator><![CDATA[Log Buffer #188, a Carnival of the Vanities for DBAs &#124; The Pythian Blog]]></dc:creator>
		<pubDate>Mon, 10 May 2010 15:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=60#comment-9</guid>
		<description><![CDATA[[...] the community know about his blog MySQL Fan Boy, where he wrote an interesting post on including a script to replace MySQL table files on a live system, making it faster and limiting locking on large table loads. Also a post this week [...]]]></description>
		<content:encoded><![CDATA[<p>[...] the community know about his blog MySQL Fan Boy, where he wrote an interesting post on including a script to replace MySQL table files on a live system, making it faster and limiting locking on large table loads. Also a post this week [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.mysqlfanboy.com/2010/05/mg_hot_replace_table-pl/comment-page-1/#comment-5</link>
		<dc:creator><![CDATA[mark]]></dc:creator>
		<pubDate>Thu, 06 May 2010 15:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=60#comment-5</guid>
		<description><![CDATA[You are right.  I can think of lots of ways to make this a more useful utility. 
 - Check that the new data files is on the same file system
 - move the file to the same file system for the user 
 - check the file is not corrupted. 
 - option to archive the old file
 - add the old file to an archive by renaming it and moving it.

Most people don&#039;t completely replace a table.  What I have is weather forecast data.  It&#039;s good for a short time and then is replaced. Old forecast data is replace with the observations  for the same location. 

I also found this useful when I had large amounts of cell phone records that arrives in large CVS files and needed to be indexed before &quot;loading&quot; into another database.  I would prepare the data on an offline server using &quot;Load File&quot;, index it and then move it to the production server. This method would load millions of records in milliseconds.]]></description>
		<content:encoded><![CDATA[<p>You are right.  I can think of lots of ways to make this a more useful utility.<br />
 &#8211; Check that the new data files is on the same file system<br />
 &#8211; move the file to the same file system for the user<br />
 &#8211; check the file is not corrupted.<br />
 &#8211; option to archive the old file<br />
 &#8211; add the old file to an archive by renaming it and moving it.</p>
<p>Most people don&#8217;t completely replace a table.  What I have is weather forecast data.  It&#8217;s good for a short time and then is replaced. Old forecast data is replace with the observations  for the same location. </p>
<p>I also found this useful when I had large amounts of cell phone records that arrives in large CVS files and needed to be indexed before &#8220;loading&#8221; into another database.  I would prepare the data on an offline server using &#8220;Load File&#8221;, index it and then move it to the production server. This method would load millions of records in milliseconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic Zero</title>
		<link>http://www.mysqlfanboy.com/2010/05/mg_hot_replace_table-pl/comment-page-1/#comment-2</link>
		<dc:creator><![CDATA[Nic Zero]]></dc:creator>
		<pubDate>Thu, 06 May 2010 07:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlfanboy.com/?p=60#comment-2</guid>
		<description><![CDATA[You can make this more generally useful if you implement it as a class and your routines become methods.  Modify them so they take the db handle as a parameter.  Then any piece of code you have that has a mysql db handle can call one or more methods as it wants.]]></description>
		<content:encoded><![CDATA[<p>You can make this more generally useful if you implement it as a class and your routines become methods.  Modify them so they take the db handle as a parameter.  Then any piece of code you have that has a mysql db handle can call one or more methods as it wants.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
