<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/4.1.4" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Karanbir Singh - Thinkability - Latest Comments on Removing lots of data from a DB table</title>
		<link>http://www.karan.org/blog/index.php?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="http://www.karan.org/blog/index.php?tempskin=_rss2&#38;disp=comments&#38;p=244" />
		<description></description>
		<language>en-US</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=4.1.4"/>
		<ttl>60</ttl>
		<item>
			<title> Scott H [Visitor] in response to: Removing lots of data from a DB table</title>
			<pubDate>Tue, 26 May 2009 17:39:30 +0000</pubDate>
			<dc:creator>Scott H [Visitor]</dc:creator>
			<guid isPermaLink="false">c4915@http://www.karan.org/blog/</guid>
			<description>Just be careful with this. Obviously if you&#039;re deleting a whole lot of data you must be &quot;in charge&quot; of that table: but DELETE is friendlier than DROP to things that rely on triggers such as replication. Marcus Hagander recently posted a good tip for administrators to keep on top of this sort of thing:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.hagander.net/archives/142-Why-are-you-not-logging-your-DDL.html&quot;&gt;http://blog.hagander.net/archives/142-Why-are-you-not-logging-your-DDL.html&lt;/a&gt;</description>
			<content:encoded><![CDATA[Just be careful with this. Obviously if you're deleting a whole lot of data you must be "in charge" of that table: but DELETE is friendlier than DROP to things that rely on triggers such as replication. Marcus Hagander recently posted a good tip for administrators to keep on top of this sort of thing:<br />
<br />
<a href="http://blog.hagander.net/archives/142-Why-are-you-not-logging-your-DDL.html">http://blog.hagander.net/archives/142-Why-are-you-not-logging-your-DDL.html</a>]]></content:encoded>
			<link>http://www.karan.org/blog/index.php/2009/05/26/removing-lots-of-data-from-a-db-table#c4915</link>
		</item>
		<item>
			<title>Karanbir Singh [Member] in response to: Removing lots of data from a DB table</title>
			<pubDate>Tue, 26 May 2009 12:00:03 +0000</pubDate>
			<dc:creator>Karanbir Singh [Member]</dc:creator>
			<guid isPermaLink="false">c4914@http://www.karan.org/blog/</guid>
			<description>artms,&lt;br /&gt;
&lt;br /&gt;
&#039;truncate&#039; works quite nicely too. Thanks for pointing that out - however I&#039;ve had issues with truncate on mysql db&#039;s when there were external references / foreign keys.</description>
			<content:encoded><![CDATA[artms,<br />
<br />
'truncate' works quite nicely too. Thanks for pointing that out - however I've had issues with truncate on mysql db's when there were external references / foreign keys.]]></content:encoded>
			<link>http://www.karan.org/blog/index.php/2009/05/26/removing-lots-of-data-from-a-db-table#c4914</link>
		</item>
		<item>
			<title> artms [Visitor] in response to: Removing lots of data from a DB table</title>
			<pubDate>Tue, 26 May 2009 11:05:59 +0000</pubDate>
			<dc:creator>artms [Visitor]</dc:creator>
			<guid isPermaLink="false">c4913@http://www.karan.org/blog/</guid>
			<description>You can also &quot;truncate table rawdata&quot; which is also faster then delete</description>
			<content:encoded><![CDATA[You can also "truncate table rawdata" which is also faster then delete]]></content:encoded>
			<link>http://www.karan.org/blog/index.php/2009/05/26/removing-lots-of-data-from-a-db-table#c4913</link>
		</item>
			</channel>
</rss>
