メインコンテンツまでスキップ

SQL Server から長いディスク応答と大容量ディスクが報告される キューの長さ

Views:
660
Visibility:
Public
Votes:
1
Category:
fas-systems
Specialty:
perf
Last Updated:

環境

  • Microsoft SQL Server
  • ONTAP 9

問題

  • Windows リソースモニタの [ ディスクアクティビティ ] では、「応答時間」が高いディスクが表示され、「ストレージ」セクションに「ディスクキューの長さ」が表示されます。
  • SQL Agent ジョブ(バッチジョブ)の所要時間が想定よりも長くなっており、その後失敗しています
  • SQL のパフォーマンスの問題が全体的に見られることがあり、 Microsoft からストレージの確認を提案される場合があります
  • SQL Server のエラーログに IO の問題を示す flushCache メッセージが大量に表示されています:
     
    2021-02-09 10:21:48.590 spid21s    FlushCache: cleaned up 19485 bufs with 15249 writes in 488889 ms (avoided 987 new dirty bufs) for db 6:0
    2021-02-09 10:21:48.590 spid21s          average writes per second:  31.19 writes/sec 
           average throughput:   0.31 MB/sec, I/O saturation: 19959, context switches 104381
    2021-02-09 10:21:48.590 spid21s          last target outstanding: 13100, avgWriteLatency 2
    2021-02-09 10:29:58.510 spid21s    FlushCache: cleaned up 2754 bufs with 2266 writes in 171682 ms (avoided 6298 new dirty bufs) for db 6:0
    2021-02-09 10:29:58.510 spid21s          average writes per second:  13.20 writes/sec 
           average throughput:   0.12 MB/sec, I/O saturation: 6978, context switches 18314
    2021-02-09 10:29:58.520 spid21s          last target outstanding: 2, avgWriteLatency 113
    2021-02-09 10:33:28.300 spid21s    FlushCache: cleaned up 4360 bufs with 1554 writes in 148717 ms (avoided 1869 new dirty bufs) for db 6:0
    2021-02-09 10:33:28.300 spid21s          average writes per second:  10.45 writes/sec 
           average throughput:   0.23 MB/sec, I/O saturation: 5536, context switches 15283
    2021-02-09 10:33:28.300 spid21s          last target outstanding: 2, avgWriteLatency 48
    2021-02-09 10:37:56.710 spid21s    FlushCache: cleaned up 3223 bufs with 1001 writes in 97386 ms (avoided 273 new dirty bufs) for db 6:0
    2021-02-09 10:37:56.710 spid21s          average writes per second:  10.28 writes/sec 
           average throughput:   0.26 MB/sec, I/O saturation: 3598, context switches 9648
    2021-02-09 10:37:56.710 spid21s          last target outstanding: 8, avgWriteLatency 199
    2021-02-09 10:39:24.690 spid21s    FlushCache: cleaned up 1689 bufs with 475 writes in 77464 ms (avoided 308 new dirty bufs) for db 13:0
    2021-02-09 10:39:24.690 spid21s          average writes per second:   6.13 writes/sec 
           average throughput:   0.17 MB/sec, I/O saturation: 2593, context switches 7651
    2021-02-09 10:39:24.690 spid21s          last target outstanding: 2, avgWriteLatency 247

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device