本文介绍了创建新索引时是否自动更新统计信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建索引后运行UPDATE Statistics是否有任何好处,或者是否为您自动完成?

Is there any benefit to running an UPDATE Statistics after you create an index or is it done automatically for you?

推荐答案

如果新索引需要新的统计信息,则会自动创建它们,除非您通过 CREATE INDEX ... WITH STATISTICS_NORECOMPUTE = ON

If the new index needs new statistics they are automatically created, unless you explictly disable the statistics compute for the new index via CREATE INDEX ... WITH STATISTICS_NORECOMPUTE = ON

这篇关于创建新索引时是否自动更新统计信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 07:09