Home Forums SQL Server 2008 SQL Server 2008 - General Fragmentation accuracy? 98% fragmented?!! RE: Fragmentation accuracy? 98% fragmented?!!
Lynn Pettis
SSC Guru
Points: 442467
More actions
May 26, 2013 at 11:33 am
#1618598
To use avg_page_space_used_in_percent you will also have to change your query to run in DETAILED mode, like this:
...
FROM sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL, NULL, 'DETAILED') AS ps