Quantcast
Channel: sqlsquirrel – The LockerGnome Daily Report
Viewing all articles
Browse latest Browse all 15

Collecting Performance Counters For A Baseline In SQL Server

$
0
0

Hello again and welcome back!

The other day I was posting in the SQL Server news groups and I came across a person asking about which performance counters should be collected to obtain a performance load baseline in their production SQL Server environment.  It occurred to me there is a lot of information out there about performance counters and what shoud be collected to determine a true load baseline for a production environment.  Now granted everyone’s production SQL Server environment is different however, the following performance counters can be used to give you a wide or general overview of the activity going on in your environment.

In the past I have worked with a company called Scalability Experts on a very large SQL Server consolidation project.  Scalability Experts ran the same counters to get a general overviewloadbaseline on all production SQL Servers.  These counters can be ran on SQL Server 2000, 2005 and 2008 in either a stand-alone or cluster configuration.  Here are the performance counters to run within Performance Monitor:

Memory – Page Reads/sec
Memory – Page Writes/sec
Memory – Pages Input/sec
Memory – Pages Output/sec
Memory – Pages/sec
Network Interface(*) – Bytes Total/sec
Network Interface(*) – Output Queue Length
Network Interface(*) – Packets/sec
PhysicalDisk(*) – % Disk Time
PhysicalDisk(*) – Avg. Disk Bytes/Read
PhysicalDisk(*) – Avg. Disk Bytes/Write
PhysicalDisk(*) – Avg. Disk Queue Length
PhysicalDisk(*) – Avg. Disk Read Queue Length
PhysicalDisk(*) – Avg. Disk sec/Read
PhysicalDisk(*) – Avg. Disk sec/Write
PhysicalDisk(*) – Avg. Disk Write Queue Length
PhysicalDisk(*) – Disk Read Bytes/sec
PhysicalDisk(*) – Disk Reads/sec
PhysicalDisk(*) – Disk Transfers/sec
PhysicalDisk(*) – Disk Write Bytes/sec
PhysicalDisk(*) – Disk Writes/sec
Process(sqlservr) – % Privileged Time
Process(sqlservr) – % Processor Time
Process(sqlservr) – % User Time
Process(sqlservr) – IO Data Operations/sec
Process(sqlservr) – Page Faults/sec
Process(sqlservr) – Private Bytes
Process(sqlservr) – Thread Count
Process(sqlservr) – Virtual Bytes
Process(sqlservr) – Working Set
Processor(*) – % Interrupt Time
Processor(*) – % Privileged Time
Processor(*) – % Processor Time
Processor(*) – % User Time
SQLServer:Buffer Manager – *
SQLServer:Cache Manager(*) – *
SQLServer:Databases(*) – Data File(s) Size (KB)
SQLServer:Databases(*) – Log File(s) Size (KB)
SQLServer:Databases(*) – Transactions/sec
SQLServer:General Statistics – *
SQLServer:Locks(*) – *
SQLServer:Memory Manager – *
SQLServer:SQL Statistics – Batch Requests/sec
SQLServer:SQL Statistics – SQL Compilations/sec
SQLServer:SQL Statistics – SQL Re-Compilations/sec
System – Context Switches/sec
System – Processor Queue Length

My next post will be demostrating how to add these counters into Performance Monitor and setting the specifics (duration, frequency, etc) on the the log.  If you have any other performance counters that you use please post them here!

The post Collecting Performance Counters For A Baseline In SQL Server appeared first on The LockerGnome Daily Report.


Viewing all articles
Browse latest Browse all 15

Trending Articles