<?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>What is allocation bottleneck?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx</link><description>Allocation bottleneck refers to contention in the system pages that store allocation structures. There are three types of pages that store allocation structures as follows · PFS (Page Free Space): it tracks the following key information about each page.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Managing TempDB in SQL Server: TempDB Configuration</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx#9274320</link><pubDate>Mon, 05 Jan 2009 02:51:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9274320</guid><dc:creator>SQL Server Storage Engine</dc:creator><description>&lt;p&gt;In my previous blogs, I described the types of objects in TempDB and how they are managed. I hope that&lt;/p&gt;
</description></item><item><title>TempDB Monitoring and Troubleshooting: Allocation Bottleneck </title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx#9305350</link><pubDate>Sun, 11 Jan 2009 08:37:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9305350</guid><dc:creator>SQL Server Storage Engine</dc:creator><description>&lt;p&gt;This blog continues the discussion on the common issues in TempDB that you may need to troubleshoot.&lt;/p&gt;
</description></item><item><title>re: What is allocation bottleneck?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx#9382876</link><pubDate>Thu, 29 Jan 2009 13:21:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9382876</guid><dc:creator>kirchner</dc:creator><description>&lt;p&gt;Hi Sunil,&lt;/p&gt;
&lt;p&gt;I've read many times SQL Server uses a deadlock-proof latching algorithm.&lt;/p&gt;
&lt;p&gt;But by your description is certainly possible for a deadlock to occur.&lt;/p&gt;
&lt;p&gt;If two processes are scanning a GAM page under SH latch, none of them will be able to take a X latch (latch compatibility rules are the same for locks???). Then if them both want to upgrade to a X latch, won't this be a deadlock?&lt;/p&gt;
</description></item><item><title>re: What is allocation bottleneck?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx#9383428</link><pubDate>Thu, 29 Jan 2009 20:51:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9383428</guid><dc:creator>Sunil Agarwal</dc:creator><description>&lt;p&gt;Actually, the intent of my blog is to describe why latch contention can happen. This is what I had mentioned in the beginning of the BLOG. I checked with the person in the ;know' and he pointed outr that we take an UPDATE latch to flip the bit. I have updaed the blog.This does not block readers. I am sure the algorithm is more complex than I describe here for the reasons you outlined (i.e. avoid deadlock at all costs)&lt;/p&gt;
&lt;p&gt;thanks for your interest and comments&lt;/p&gt;
</description></item><item><title>re: What is allocation bottleneck?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/04/what-is-allocation-bottleneck.aspx#9383455</link><pubDate>Thu, 29 Jan 2009 21:12:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9383455</guid><dc:creator>kirchner</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I saw in the post your intention wasn't to describe the algorithm. I just have never been able to find something about HOW deadlock is actually avoided.&lt;/p&gt;
&lt;p&gt;Thanks for the answer.&lt;/p&gt;
</description></item></channel></rss>