Inherited maintenance plan rebuilds every index in the database every night, which takes hours and bloats the log. Surely this is not how it should be done.
What are the actual thresholds and the smarter procedure?
Inherited maintenance plan rebuilds every index in the database every night, which takes hours and bloats the log. Surely this is not how it should be done.
What are the actual thresholds and the smarter procedure?
Your instinct is right, rebuild everything nightly is the maintenance equivalent of repaving every road daily. The measured approach:
Expect the win to be dramatic: measured maintenance on a typical database touches a fraction of the indexes nightly, turning the hours into minutes and the log bloat into a footnote, with the rebuilds that do run concentrated where queries actually benefit.
IndexOptimize deployed in place of the blanket plan: first night touched 31 indexes instead of 400 and finished in 12 minutes. Log growth normal for the first time in memory. The previous plan's author has been forgiven but not forgotten.