ola 提供了一堆sql,我们可以用来方便的处理sql server的一些日常维护,很值得使用下
https://ola.hallengren.com/ https://github.com/olahallengren/sql-server-maintenance-solution