Our previous DBA created a job that automatically rebuilds all indexes for all databases. This is overkill, I want to move to only rebuilding those that need it. I'm also thinking some might reorganize faster than they would rebuild.
I am seeing an inordinate number of plans recompiling execution plans around the same time that this maintenance task runs. I'm thinking the two are related. Here's the question:
If you rebuild an index, does that automatically cause the execution plans that used that index to recompile?
↧