--清空缓存
checkpointdbcc freeproccachedbcc dropcleanbuffers
--设置cpu时间
SET STATISTICS io ONSET STATISTICS time ONgo
--查询语句
select * from tablename
goSET STATISTICS profile OFFSET STATISTICS io OFFSET STATISTICS time OFF