Skip to content

Question About Index Optimize #443

Discussion options

You must be logged in to vote

Is it a good idea to provide fragmentationlevel1 and fragmentationlevel2 parameters in the IndexOptimze SP?

In most scenarios, the default values works well. Then you don't need to specify these parameter.

For more details, please see the documentation:
https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html#FragmentationLevel1
https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html#FragmentationLevel2

My understanding is that update statistics is run automatically when indexes are rebuild.

It is correct that the statistics is updated, when an index is rebuilt. However that is not the case for when an index is reorganized.

We absolutely want to…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nehamnsu
Comment options

Answer selected by Nehamnsu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants