measure sql server 2008 stats

i need to measure the cpu and i/o use of a sql server database 2008 each day and record the output in a table

Who is Participating?
Ryan McCauleyData and Analytics ManagerCommented:
I'd recommend that you use the Windows tool Perfmon to monitor CPU and disk usage on the server - it can be configured to save the results of the trace to a SQL table, and then you can write a SELECT to get the results in whatever format you want.

You can trace CPU usage, as well as dozens of disk metrics, but I'd recommend the read and write queue lengths, as they've been the best indicator of lagging/heavy disk volume when I've watched them, but total read/write IO bytes might be helpful as well.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.