首页 > 其他 > 详细

rebuild index and update statistics

时间:2017-10-04 16:11:59      阅读:293      评论:0      收藏:0      [点我收藏+]

Refer to http://blog.sina.com.cn/s/blog_630d50dc0102vwwh.html

1.UPDATE STATISTICS table with fullscan-->this will update both on index statistics and column statistics

2.Update statistics table with fullscan, index->this will update index statistics

3.Update statistics table with fullscan, column ->this will update column statistics

4.Rebuild indexes(ALTER INDEX on table REBUILD)-> this will only update the indexes statistics.

5.Reorganize indexes(ALTER INDEX on table REORGANIZE)-> this will not update indexes statistics and column statistics

rebuild index and update statistics

原文:http://www.cnblogs.com/roseHLF/p/7625705.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!