SQL Server 计数器 阀值列表

系统 2038 0

List of Threshold Value for SQL Server Performance Counters

By : Kasim Wirama, MCDBA, MCITP

 

Monitoring database performance is proactive task that a DBA should do. Possible bottleneck for SQL Server is memory, processor, I/O subsystem, tempdb database, and locking. For SQL Server specifics, below list is a minimum set of counters that should be used for monitoring SQL Server performance daily. I would give preferred value but your environment might require the value stick with the preferred one because each database environment is unique. For your initial baseline, it could your reference.

1.         1. SQL Server:Access Methods with counter : Forwarded Records/sec

Preferred value : less than 10 of 100 Batch Requests/Sec

 

2.         2. SQL Server:Access Methods with counter : Full Scans/sec

Preferred value : (Index searches/sec)/(Full scans/sec) should be greater than 1000

 

3.        3. SQL Server:Access Methods with counter : Index Searches/sec

Preferred value : same with point 2

 

4.         4. SQL Server:Access Methods with counter : Page Splits/sec

Preferred value : less than 20 of 100 Batch Requests/sec

 

5.         5. SQL Server:Buffer Manager with counter : Buffer Cache Hit Ratio

Preferred value : greater than 90%

 

6.         6. SQL Server:Buffer Manager    with counter : Free List Stalls/sec

Preferred value : less than 2

 

7.         7. SQL Server:Buffer Manager with counter : Free Pages

Preferred value : greater than 640

 

8.         8. SQL Server: Buffer Manager with counter : Lazy Writes/Sec

Preferred value : less than 20

 

9.         9. SQL Server: Buffer Manager with counter : Page Life Expectancy

Preferred value : greater than 600 seconds.

 

10.     10. SQL Server: Buffer Manager with counter : Page Lookup/sec

Preferred value : (Page Lookup/sec)/(Batch Requests/sec) should less than 100

 

11.     11. SQL Server: Buffer Manager with counter : Page Reads/sec

Preferred value : less than 90

 

12.     12. SQL Server: Buffer Manager with counter : Page Writes/sec

Preferred value : same with point 11

 

13.     13. SQL Server: General Statistics with counter : Logins/sec

Preferred value : less than 2

 

14.     14. SQL Server: General Statistics with counter : Logouts/sec

Preferred value : less than 2

 

15.     15. SQL Server: Latches with counter : Latch Waits/sec

Preferred value : (Total Latch Wait Time)/(Latch Waits/Sec) less than 10

 

16.     16. SQL Server: Latches with counter : Total Latch Wait Time (ms)

Preferred value : same with point 15

 

17.     17. SQL Server: Locks with counter : Lock Wait Time(ms)

Preferred value : should not exceeds 60 seconds.

 

18.     18. SQL Server: Locks with counter : Lock Waits/sec

Preferred value : should be zero

 

19.     19. SQL Server: Locks with counter : Number of Deadlocks/sec

Preferred value : less than 1

 

20.     20. SQL Server: SQL Statistics with counter : SQL Compilations/sec

Preferred value : less than 10% of number of Batch Requests/sec

 

21.     21. SQL Server: SQL Statistics with counter : SQL Re-Compilations/sec

Preferred value : less than 10% of number of SQL Compilations/sec

 

Generally 15 seconds sample rate is sufficient and it is recommended to save it into CSV for later analysis.

SQL Server 计数器 阀值列表


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论