堡主大名花花

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId)
drop index StatisticsTagArea_AreaId on StatisticsTagArea
create index StatisticsTagArea_AreaId on StatisticsTagArea(AreaId) include(TagId,DisCount,DisHasPicCount)
dbcc showcontig(StatisticsTagArea,StatisticsTagArea_AreaId)  WITH FAST, TABLERESULTS,  NO_INFOMSGS
dbcc dbreindex(StatisticsTagArea,StatisticsTagArea_AreaId,90)
ALTER Index PK_STATISTICSTAGAREA on StatisticsTagArea rebuild 
dbcc INDEXDEFRAG (0,objectid,indexid)
posted on 2017-07-26 21:07  堡主大名花花  阅读(142)  评论(0编辑  收藏  举报