Clear SQL Server Cache

When perform benchmark testing, make sure you need to clean the SQL server cache in order to have a more accurate result.

-- Clean all data in the cache
DBCC DROPCLEANBUFFERS

-- clean cache from stored procedure
DBCC FREEPROCCACHE

Comments

Popular posts from this blog

Post packing slip of sales order in X++