SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Measuring "workload" in SQLServer


Measuring "workload" in SQLServer

Author
Message
jrc172
jrc172
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 45
I'm trying to get a handle on what constitutes a measure of work (to calculate comparative "workloads") in the SQLServer environment. The answer "all of them" is probably neither usable nor correct. How about transactions/sec (from dmv sys.dm_os_performance_counters)?
Others ... ?
Tara Kizer
Tara Kizer
SSC-Addicted
SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)SSC-Addicted (469 reputation)

Group: General Forum Members
Points: 469 Visits: 343
We use batch requests per second in PerfMon. On our busiest system, we have 1500-3000 batches per second occurring 24/7.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
Ramblings of a DBA (My SQL Server Blog)
Subscribe to my blog
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)SSC Guru (98K reputation)

Group: General Forum Members
Points: 98439 Visits: 33014
It really kind of depends on your business and your systems. For example, I work for an insurance company. We don't do umpty-gazillion transactions per/second, so measuring just transactions per second wouldn't supply us with much information. Instead, more often than not, we look at query execution time. But even that is not enough of a measure. Instead of finding a single number and deciding that's your point of entry, I'd suggest just a few measures. Base everything on waits and queues. Disk Queue Length, Processor Queue Length and various system waits. Gather those metrics and you'll have a good idea of the performance of the system. Anything else is just a symptom. Transactions/sec went down... why? We have an increased disk queue length. Uh, oh, IO issues. See what I mean?

----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
jrc172
jrc172
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 45
I totally agree. I should have said this is an OLTP system, not OLAP. Queue length and system waits are great performance metrics, but I'm looking for workload metrics. Different but not totaly opposite.
jrc172
jrc172
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 45
Thanks Tara, and there just happens to be an article on using powershell to capture perfmon statistics in one of my emails this morning: http://www.simple-talk.com/sql/database-administration/gathering-perfmon-data-with-powershell/?utm_source=simpletalk&utm_medium=email-main&utm_content=Perfmon-20100712&utm_campaign=SQL
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search