Hi Samantha,
you are correct that this is not the optimal solution, you should troubleshoot why there is that performance impact and what is causing it.
Just regarding your question which option might be better... just let me ask you a question... and maybe you find your answer yourself ;-)
If you have performance issues and everything is performaning slow and you have to restart the server in order to reset everything back to high performance... why would you start a cost intensive activity like index maintenance on this slow server?
So option 2 will the better option, as (technically) it doesn't matter if you do index/stats maintenance before or after a restart.
Hope that helps.
Your
Bjoern Peters
If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!
Hi @Samantha r,
In order to benefit all community members who are having this similar issue, please choose an answer to accept or vote for the answer you think is useful to you. Your contribution is highly appreciated.
Best regards,
Seeya