Professional Documents
Culture Documents
PAGING FILE
Reference or
Preferred Value Description Suggested value
%Usage < 70% The amount of the Page File instance in use in percent. KB 889654
KB 889654;
B. Knight SQL
2000 for
%Usage Peak < 70% The amount of the Page File peak Experienced DBAs
MEMORY
Reference or
Preferred Value Description Suggested value
Pages Input/Sec represents the number of pages read from disk
per second to resolve hard page faults. Hard page faults < 10 per
Pages Input/Sec < 70% second is desirable. Microsoft RAP
Memory Available bytes > 80 MB Amount of physical memory on the server. Acceptable amounts will
vary. 2GB RAM shows as 1.67 GB RAM on a 32 bit box. Windows B. Knight SQL
needs 80 MB but I have seen over 1GB as the minimum. Larger 2000 for
servers with 40-60-96GB RAM will obviously need more. Experienced DBAs
Memory Pages/Sec > 20 Number of pages read from or written to disk KB 889654
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
B. Knight SQL
Percentage of pages that were found in the buffer pool without 2000 for
Buffer Cache hit ratio > 90% having to incur a read from disk. Experienced DBAs
Target Server Memory(KB) - Total amount of dynamic memory the server can consume.
Total amount of dynamic memory (in kilobytes) that the server is
Total Server Memory(KB) using currently
Tells you how many times a page in the buffer pool was referenced.
When the ratio of page lookups to batch requests is much greater
than 100, this is an indication that while query plans are looking up
Page Lookups/Sec <=100 data in the buffer pool, these plans are inefficient. Microsoft RAP
Note: use SQLIO.exe or IOmeter.exe (www.iometer.org) to determine if storage system is available for maximum throughput.
PROCESSOR
Reference or
Preferred Value Description Suggested value
B. Knight SQL
< 80%; TBA % Processor Time is the percentage of elapsed time that the 2000 for
%Processor Time < 85% - Knight processor spends to execute a non-Idle thread. Experienced DBAs
< 30% of Total % Privileged Time is the percentage of elapsed time that the
%Privileged Time %Processor Time process threads spent executing code in privileged mode.
%Processor Time (Process – Sql
server) < 80%
< 30% of
%Privileged Time (Process – SQL %Processor Time
Server) (sqlservr) Divide the value by number of processors
SYSTEM
Reference or
Preferred Value Description Suggested value
1500 – 3000 per processor Excellent >>>> Fair
> 6000 per processor >>>> Poor
Upper limit is about 40,000 at 90 % CPU per CPU
Context Switches/sec < 3000 NOTE: Remember to divide by number of processors
- For standard servers with long Quantums
<= 4 per CPU Excellent
Processor Queue Length < 8 per CPU Good
< 4 per CPU < 12 per CPU Fair
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
identify blocking.
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
Notes
***If the disk has say 20 disk and it is RAID 10 then no. of spindles = 20/2 = 10. If it is RAID 5 then the no. of spindles = no of disks = 20.
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
REFERENCES
Knight, B. (2003). SQL Server 2000 for Experienced DBAs. Berkley: McGraw-Hill.
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!
PERFORMANCE MONITOR COUNTERS FOR SQL SERVER March 4, 2008
VERSIONS
1.0 – 2/1/2008 (Document)
2.0 – 3/4/2008 (Knight)
Obligatory Caveat: This is a listing of counters from various sources – you decide their merit. I have always taught that you learn what’s best for your
environment by doing, not reading. You might agree or disagree, and that’s ok. I’m not purporting the use of any of the content herein, so therefore it is
up to you to decide which of these are valid and which ones are not. Thanks much and enjoy!