我正在使用 MS SQL 2008 R2,我想知道数据库中是否有任何功能允许 重建所有表中的所有索引 对于位于 的指定数据库特定区间例如每周重建一次。
请让我知道,谢谢!
最佳答案
Maintenance plans.
但是你最好不要使用这些并使用根据需要(碎片级别)更智能地重建的东西,例如 Ola Hallengren's SQL Server Index and Statistics Maintenance script
关于sql-server-2008 - 自动重组和重建索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11153329/