posted 12/1/2011 4:37:50 AM by Quick Tip - Views: [3700]
You can use DBCC SQLPERF statement to clear wait & latch stats.
For example;
-- clear the wait stats DBCC SQLPERF('sys.dm_os_wait_stats',CLEAR);
You can use this statement to also clear latch stats.
-- clear the latch stats DBCC SQLPERF('sys.dm_os_latch_stats',CLEAR);
If you like the tip, do like us on FaceBook at http://www.FaceBook.com/SQLServerGeeks
@SQLServerGeeks
Quick Tip (Member since: 9/30/2011 3:53:08 PM)
View Quick Tip 's profile
Leave a comment