更新MSSQL数据库中的统计信息 [英] Update statastics in mssql databse
本文介绍了更新MSSQL数据库中的统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是最好的数据库更新静态数据?
database =>选项=>自动更新Stastics => true
或
what is best make update statics for database ??
database=>option =>auto Update Stastics=>true
or
use new
EXEC sp_MSforeachtable @command1="print '?' DBCC DBREINDEX ('?', ' ', 80)"
GO
EXEC sp_updatestats
GO
请给我建议...
Please give me Suggestion...
推荐答案
这可能有助于您确定:
^ ]
This might help you to decide:
http://blogs.msdn.com/b/buckwoody/archive/2009/08/18/sql-server-best-practices-auto-create-and-auto-update-statistics-should-be-on-most-of-the-time.aspx[^]
这篇关于更新MSSQL数据库中的统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文