SQL Azure和索引 [英] SQL Azure and Indexes
问题描述
这是真的了SQL Azure的重建/自动整理索引?
is that true that SQL Azure rebuilds / reorganizes index automatically?
我们有SQL Azure上的数据库和体验性能下降,我想这是一个都市传奇。
We have a database on Sql Azure and experiencing performance degradation and I suppose this is a urban-legend.
你能帮助我吗?
谢谢,
马尔科
Thanks, Marco
推荐答案
SQL Azure的,而统计数据自动更新不会自动重建索引。
如果你有特殊原因强制重建它,你必须直接发出命令。
SQL Azure does not rebuild indexes automatically while the statistics are updated automatically. If you have a specific reason to force the rebuild it, you have to directly issue the command.
这好贴帮助您创建一个脚本来<一href=\"http://blogs.msdn.com/b/dilkushp/archive/2013/07/28/fragmentation-in-sql-azure.aspx\">dynamically重建在SQL Azure的数据库的所有索引。
This nice post helps you create a script to dynamically rebuild all indexes in a SQL Azure db.
这篇关于SQL Azure和索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!