Stairway to SQL Server Indexes: Step 4, Pages and Extents

  • Comments posted to this topic are about the item Stairway to SQL Server Indexes: Step 4, Pages and Extents

  • Nice article! Just one tweak:

    "If one page in an extent is owned by TableA or IndexB, all eight pages will be owned by that same object. An exception is made for very small tables and indexes, ones that would not fill and entire extent."

    Close, but not exactly. The first page of a newly created table is put into a mixed extent. When we first create a table, we don't know whether it's going to be a "very small table" - every table starts out very small. After the table has 8 pages, then future allocations are put into uniform extents, but the original pages aren't moved to uniform extents automatically. You can move them yourself by rebuilding the clustered index, though.

    You can read more about it here:

    Also, just to nit-pick, heh - there's a typo. It should say "would not fill AN entire extent."

  • Brent,

    Sorry for the long delay in replying; have been completing the remaining levels.

    Will reread the level and reword it, to add your point and fix the typo.

    Re the typo: Sharp eyes. Three people (self, Kalen, and Redgate) plus Word missed it.

    Thanks for the input,

    Dave Durant.


  • Glad I could help - and again, great series! The community really needed this step-by-step level of training, and I love seeing 'em go live.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply