rebuild index and update statistics
Posted rosewong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rebuild index and update statistics相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
sql server中index的REBUILD和REORGANIZE