VA Index Fragmentation Auditor

HEALTHY (< 5%): Physical pages are well-organized on disk. I/O performance is optimal.
WARNING (5-30%): Leaf-level pages are scattered. Consider a REORGANIZE to defragment without locking.
CRITICAL (> 30%): High physical disorganization. A REBUILD is required to restore storage efficiency.
DBA Tips: Resource Governance
Needs Rebuild
1
Needs Reorganize
0
Healthy Indexes
7
Avg Frag %
12.40%

Frag Distribution

StatusTableIDIndex NameFrag %PagesRecordsDDL ACTION
REBUILD (CRITICAL) Veterans_Scrambled2IX_Scramble_Code 97.94% 2430
ALTER INDEX [IX_Scramble_Code] ON [dbo].[Veterans_Scrambled] REBUILD WITH (ONLINE = ON);
OK Clinics0--- HEAP --- 0.56% 1,4290
-- No Action Required --
OK customers1PK_customers 0.36% 3,9020
-- No Action Required --
OK SniffTest1PK__SniffTes__3214EC27744694F6 0.25% 7860
-- No Action Required --
OK Veterans_Scrambled1PK__Veterans__2556B80EF4497B51 0.06% 21,7790
-- No Action Required --
OK AgencyStressTest0--- HEAP --- 0.00% 6520
-- No Action Required --
OK Veterans0--- HEAP --- 0.00% 1,5390
-- No Action Required --
OK MedicalRecords0--- HEAP --- 0.00% 6020
-- No Action Required --
Reference: Raw Truth Verification Query
SELECT OBJECT_NAME(object_id) AS [Table], index_id, avg_fragmentation_in_percent, page_count FROM sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, 'LIMITED') WHERE page_count > 100 ORDER BY avg_fragmentation_in_percent DESC;