Hi @sakuraime ,
what's the relationship between avg_fragmentation_in_percentage vs fragment_count / avg_fragment_size_in_pages
I know Page_count / fragment_count will be equal to avg_fragment_size_in_pages
But how to relate to avg_fragmentation_in_percentage in %????
Maybe they have a subtle relationship, but I didn't find a suitable algorithm or formula. And I think the avg_fragmentation_in_percentage is the Logical Scan Fragmentation in DBCC SHOWCONTIG('TABLENAME').
BR,
Mia
If the answer is helpful, please click "Accept Answer" and upvote it.