Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

Why it is necessary to rebuild and reorganize Indexes in SQL Server?

Asked by Aashish Chaursiya Apr 24, 2021 743 views 1 answer
Share

About this question

Even after googling alot i couldn't find the reason for Why do we need to rebuild and reorganize indexes in SQL Server? what does internally happens when we rebuild and reorganize?

An article on a site says :


Index should be rebuild when index fragmentation is great than 40%. Index should be reorganized when index fragmentation is between 10% to 40%. Index rebuilding process uses more CPU and it locks the database resources. SQL Server development version and Enterprise version has option ONLINE, which can be turned on when Index is rebuilt. ONLINE option will keep index available during the rebuilding.

I couldn't understand this, though it says that WHEN to do this, but I would like to know WHY do we need to rebuild and sql server reorganize indexes? 

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.