<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simple query to check the recent blocking history</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/03/28/simple-query-to-check-the-recent-blocking-history.aspx</link><description>SQL Server 2005 keeps (some) history of the number and time that blocking occurred on indexes. This blog contains a query that queries this information to help identifying on which tables blocking happens most. The query shows accumulated numbers (no.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Simple query to check the recent blocking history</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/03/28/simple-query-to-check-the-recent-blocking-history.aspx#9001335</link><pubDate>Thu, 16 Oct 2008 05:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9001335</guid><dc:creator>silva_nuno@hotmail.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the results of the query we get numeber of locks and number of blocks. Waht is the diference between the two columns?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nuno&lt;/p&gt;
</description></item><item><title>re: Simple query to check the recent blocking history</title><link>http://blogs.msdn.com/microsoft_dynamics_nav_sustained_engineering/archive/2008/03/28/simple-query-to-check-the-recent-blocking-history.aspx#9006918</link><pubDate>Mon, 20 Oct 2008 10:04:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9006918</guid><dc:creator>Lohndorf</dc:creator><description>&lt;p&gt;Hello Nuno,&lt;/p&gt;
&lt;p&gt;A block is also a lock. But it becomes a block when another user tries to lock the same records.&lt;/p&gt;
&lt;p&gt;So, for example, you may have millions of lock on a table without causing any problems, if a process or user is the only one using that table. But, if you have users and processes locking the same records, then that is when you get blocks.&lt;/p&gt;
&lt;p&gt;I hope this explains?&lt;/p&gt;
&lt;p&gt;Lars&lt;/p&gt;
</description></item></channel></rss>