<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.6.5" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: MySQL: RENAME TABLE on Transactional Tables Can Jeopardize Slave Data</title>
	<link>http://www.pythian.com/blogs/1285/mysql-rename-table-on-transactional-tables-can-jeopardize-slave-data</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Tue,  6 Jan 2009 11:01:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Rob Wultsch</title>
		<link>http://www.pythian.com/blogs/1285/mysql-rename-table-on-transactional-tables-can-jeopardize-slave-data#comment-288203</link>
		<dc:creator>Rob Wultsch</dc:creator>
		<pubDate>Thu, 09 Oct 2008 01:40:06 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1285/mysql-rename-table-on-transactional-tables-can-jeopardize-slave-data#comment-288203</guid>
		<description>Tangential:
"If MySQL encounters any errors in a multiple-table rename, it does a reverse rename for all renamed tables to return everything to its original state. "

I notice that earlier this week and have been curious about what happens if the reverse rename fails. I bet it is nothing good. I'll write up a test case over the weekend...</description>
		<content:encoded><![CDATA[<p>Tangential:<br />
&#8220;If MySQL encounters any errors in a multiple-table rename, it does a reverse rename for all renamed tables to return everything to its original state. &#8221;</p>
<p>I notice that earlier this week and have been curious about what happens if the reverse rename fails. I bet it is nothing good. I&#8217;ll write up a test case over the weekend&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Haase</title>
		<link>http://www.pythian.com/blogs/1285/mysql-rename-table-on-transactional-tables-can-jeopardize-slave-data#comment-288196</link>
		<dc:creator>Gregory Haase</dc:creator>
		<pubDate>Thu, 09 Oct 2008 01:20:18 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1285/mysql-rename-table-on-transactional-tables-can-jeopardize-slave-data#comment-288196</guid>
		<description>I don't know if this is the kind of work-around you're looking for, but I used to have a similar problem with keeping my archive tables small. The solution is to use partitioning and drop older partitions instead. 

Maybe your client isn't on 5.1 yet, but that's going to be GA a lot sooner than 6.0.

You can see my article about pruning archive tables with partitions here: http://dev.mysql.com/tech-resources/articles/partitioning-event_scheduler.html</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if this is the kind of work-around you&#8217;re looking for, but I used to have a similar problem with keeping my archive tables small. The solution is to use partitioning and drop older partitions instead. </p>
<p>Maybe your client isn&#8217;t on 5.1 yet, but that&#8217;s going to be GA a lot sooner than 6.0.</p>
<p>You can see my article about pruning archive tables with partitions here: <a href="http://dev.mysql.com/tech-resources/articles/partitioning-event_scheduler.html" rel="nofollow">http://dev.mysql.com/tech-resources/articles/partitioning-event_scheduler.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
