Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbcc indexdefrag moves all pages on a NEW index

Status
Not open for further replies.

vadimg

IS-IT--Management
Oct 25, 2001
152
US
hey all!
i posted this about a year ago -- nobody replied...
so, bump....

Hope someone can explain the following phenomenon:

After creating a new index, running DBCC INDEXDEFRAG on this index will move ALL(????) pages in the index (Pages Scanned = Pages Moved). If DBCC indexdefrag is executed again, Pages Moved = 0 which is expected.

Question is: why would indexdefrag move every single page on a NEW index while it hasn't been fragmented at all???
If I run a dbcc showcontig on that index, I will see the scan density of 100%.
 
Are we talking about a clustered, non-clustered or either type of index this type of senerio happens?

Thanks

J. Kusch
 
happens to both clustered and nonclustered indexes

SQL2K SP3
Windows 2000 Advanced Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top