Recently I have rebuild indexes uisng Ola Hallengreen script which were 99% fragmented. After rebuilt i have noticed the physical reads have reduced a lot. Does this has anything to do with Index Rebuilt ?
SQL Server – Does Index Rebuild Reduce Physical Reads from Disk?
clustered-indexdisk-structuresindex-tuningola-hallengrensql server
Related Question
- Sql-server – Does rebuilding a clustered index on an IDENTITY column do anything useful
- Sql-server – FillFactor: IndexOptimize script by Ola Hallengren
- Ola Index and Update stats
- Sql-server – Index rebuild suspended due to IO_COMPLETION wait type
- Sql-server – Long running index rebuild
- SQL Server – Index Reorganize and Rebuild Report Using Ola Hallengren
- SQL Server – Database Space Decreased After Index Rebuild (Ola Script)
Best Answer
Immediately after you rebuild an index, its pages are more likely to be cached in memory.
Consider this scenario:
This is one of the reasons you don't really wanna use physical reads to gauge the success of your performance tuning efforts. Start by using logical reads instead. (Heck, you could have skipped step #3 altogether and you'd still see less physical reads - but that doesn't mean you should run every query twice in order to reduce physical reads.)