seniorT-SQL
What is index fragmentation and how does it affect query performance?
Updated May 17, 2026
Short answer
Index fragmentation occurs when logical page order diverges from physical storage order.
Deep explanation
Fragmentation happens due to page splits during inserts/updates and causes inefficient IO patterns. Logical fragmentation increases random reads, reducing cache efficiency. SQL Server measures fragmentation using DMV outputs, and mitigation includes rebuilds or reorganizations depending on severity.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro