<?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>Under the covers: GAM, SGAM, and PFS pages</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/08/under-the-covers-gam-sgam-and-pfs-pages.aspx</link><description>(Been a week or so since the last post but I haven't burnt out with blogging yet - I was on vacation over the July 4th weekend and totally offline in and around a small town called Pullman in south-eastern Washington.) In a previous post I described extents,</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Under the covers: GAM, SGAM, and PFS pages</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/08/under-the-covers-gam-sgam-and-pfs-pages.aspx#667784</link><pubDate>Mon, 17 Jul 2006 03:54:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:667784</guid><dc:creator>MikeWalsh</dc:creator><description>Thanks again. Keep up the good posts.</description></item><item><title>re: Under the covers: GAM, SGAM, and PFS pages</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/08/under-the-covers-gam-sgam-and-pfs-pages.aspx#1927113</link><pubDate>Wed, 21 Mar 2007 21:38:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1927113</guid><dc:creator>david_wei</dc:creator><description>&lt;p&gt;Very good post, it answers questions which I could not find anywhere else!&lt;/p&gt;
&lt;p&gt;However, in the PFS pages section, I think &amp;nbsp;bit 4 and bit 5 are switched. should be like this:&lt;/p&gt;
&lt;p&gt;bit 5 (0x20): is the page a mixed-page?&lt;/p&gt;
&lt;p&gt;bit 4 (0x10): is the page an IAM page?&lt;/p&gt;
&lt;p&gt;I did some practises on NON-IAM mixed-extent pages, the PFS returns 0X60 (allocated + Mixed)&lt;/p&gt;
&lt;p&gt;for example:&lt;/p&gt;
&lt;p&gt;DBCC page(AdventureWorks,1,16176,3) &amp;nbsp;-- check the PFS to find a mixed extent&lt;/p&gt;
&lt;p&gt;--return (1:20760) &amp;nbsp; &amp;nbsp;- (1:20767) &amp;nbsp; &amp;nbsp;= &amp;nbsp; &amp;nbsp; ALLOCATED &amp;nbsp; 0_PCT_FULL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mixed Ext&lt;/p&gt;
&lt;p&gt;DBCC page(AdventureWorks,1,20760,1) &lt;/p&gt;
&lt;p&gt;--GAM (1:2) = ALLOCATED SGAM (1:3) = ALLOCATED PFS (1:16176) = 0x60 MIXED_EXT ALLOCATED 0_PCT_FULL&lt;/p&gt;
&lt;p&gt;And I have a question for the IAM pages, &lt;/p&gt;
&lt;p&gt;I checked some of them, they alays return 0x70 (allocated + Mixed + IAM),&lt;/p&gt;
&lt;p&gt;Does that mean IAM pages are always allocated in a mix extent ? &lt;/p&gt;
&lt;p&gt;Also in the GAM, SGAM and IAM pages section, in the chart&lt;/p&gt;
&lt;p&gt;the 3rd column is &amp;quot;Any IAM&amp;quot;, What does &amp;quot;Any IAM&amp;quot; = 0 or &amp;quot;Any IAM&amp;quot; = 1 mean ?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
</description></item><item><title>re: Under the covers: GAM, SGAM, and PFS pages</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/08/under-the-covers-gam-sgam-and-pfs-pages.aspx#1927146</link><pubDate>Wed, 21 Mar 2007 21:50:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1927146</guid><dc:creator>Paul Randal - MSFT</dc:creator><description>&lt;p&gt;Hey David - good catch - that's what happens when you try to do stuff from memory!&lt;/p&gt;
&lt;p&gt;Yes, IAM pages are always from mixed extents. Any IAM means that one IAM page mut have a bit set corresponding to that extent.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
</description></item><item><title>What is a page split? What happens? Why does it happen? Why worry?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/08/under-the-covers-gam-sgam-and-pfs-pages.aspx#3583958</link><pubDate>Thu, 28 Jun 2007 16:03:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3583958</guid><dc:creator>Tony Rogerson's ramblings on SQL Server</dc:creator><description>&lt;p&gt;You’ve probably heard the term banded around but do you know what it means and what it means to the performance&lt;/p&gt;
</description></item></channel></rss>