SQLSERVER performance optimization statistics

DBCC DROPCLEANBUFFERS - clear the buffer 
DBCC FREEPROCCACHE - delete plan cache elements of 

the SET STATISTICS the TIME ON 
the SET STATISTICS IO ON 
the SET STATISTICS PROFILE ON 



- execute code 



the SET STATISTICS the TIME OFF 
the SET STATISTICS IO OFF 
the SET STATISTICS PROFILE OFF 
GO
 

  

Guess you like

Origin www.cnblogs.com/challengesoflife/p/11571243.html