Logging wait stats over time

We all know how valuable wait statistics can be when doing performance analysis. One thing I feel is missing in SQL Server is a trail of various measures, for instance wait stats. I really wish Microsoft could include something in this area, which can be used as a baseline. I recently fount this, from the Tiger Team. It looks promising, but I haven’t implemented it yet.

Anyhow, I have created a script that log wait stats over time. I keep a trail of logged value which is denser – for instance once per minute. And also a trail which is courser, for instance once per day.

The solution has a few tables and then you create a couple of Agent jobs. The logging and clean-up part is methinks pretty much done. The part that need more work is the analysis of the information. I.e., expect to find queries and views added. Suggestions are of course very welcome!

You find the stuff here.

7 Replies to “Logging wait stats over time”

  1. VS88… short and sweet. Let’s see what they’ve got to offer. Maybe some good betting options on the next big game? I need to check! Let’s get this game started: vs88

  2. Hey, checked out spribewingamee.com for some Spribe action. Pretty smooth experience overall! Gonna try to actually spribe win something next time though. Fingers crossed! Check it out yourself: spribe win

Leave a Reply

Your email address will not be published. Required fields are marked *