<?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 for TITLE!</title>
	<atom:link href="http://www.hatefulbastard.com/index.php" rel="self" type="application/rss+xml" />
	<link>http://www.hatefulbastard.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 28 Oct 2009 13:22:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on nHibernate and Remoting/Shallow Serialization by Steve</title>
		<link>http://www.hatefulbastard.com/index.php/archives/34/comment-page-1#comment-35</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 28 Oct 2009 13:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.hatefulbastard.com/?p=34#comment-35</guid>
		<description>Cool!  When I grow up, I want to be just like you!</description>
		<content:encoded><![CDATA[<p>Cool!  When I grow up, I want to be just like you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How not to lock your database server for large deletes. by JamesD</title>
		<link>http://www.hatefulbastard.com/index.php/archives/27/comment-page-1#comment-7</link>
		<dc:creator>JamesD</dc:creator>
		<pubDate>Thu, 11 Jun 2009 18:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.hatefulbastard.com/index.php/archives/27#comment-7</guid>
		<description>Thanks for the useful info. It&#039;s so interesting</description>
		<content:encoded><![CDATA[<p>Thanks for the useful info. It&#8217;s so interesting</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How not to lock your database server for large deletes. by Paul Muharsky</title>
		<link>http://www.hatefulbastard.com/index.php/archives/27/comment-page-1#comment-2</link>
		<dc:creator>Paul Muharsky</dc:creator>
		<pubDate>Fri, 15 May 2009 13:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.hatefulbastard.com/index.php/archives/27#comment-2</guid>
		<description>This solution is useful as long as it&#039;s used only in a maintenance capacity, it would only work if it is not transaction safe.

Locks are placed on the table for the duration of the transaction affecting the table.  as such, if this were contained within a transaction (either issued by the calling app or wrapping the abov statement in BEGIN TRAN / COMMIT TRAN) then a lock will stll be placed on [Table].  In fact, it would maintain that lock significantly longer thn just issuing the straight-up delete, as the delete will have to re-run through the Command Parser, query optimizer (though cached execution plan should work for the parameterized query), and buffers for each pass.

You could use NOLOCK on the table, but this will result in the posibility of dirty reads by anything that reads from this table while the delete is taking place, and is generally not recommended.</description>
		<content:encoded><![CDATA[<p>This solution is useful as long as it&#8217;s used only in a maintenance capacity, it would only work if it is not transaction safe.</p>
<p>Locks are placed on the table for the duration of the transaction affecting the table.  as such, if this were contained within a transaction (either issued by the calling app or wrapping the abov statement in BEGIN TRAN / COMMIT TRAN) then a lock will stll be placed on [Table].  In fact, it would maintain that lock significantly longer thn just issuing the straight-up delete, as the delete will have to re-run through the Command Parser, query optimizer (though cached execution plan should work for the parameterized query), and buffers for each pass.</p>
<p>You could use NOLOCK on the table, but this will result in the posibility of dirty reads by anything that reads from this table while the delete is taking place, and is generally not recommended.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

