FlushCache: 提醒SQLSERVER卡死,如何确定是问题原因
先说一下硬件信息
服务器2棵4核心8线程处理器,128G内存
现在数据有3个库,数据库文件比较 大,每个数据1T左右。每秒时在线500左右。
有很多表数据量都在1亿-2亿条,但因为数据结构简单,基本上存储过程操作都200毫秒之内
现在不定期出现FlushCache提示,然后服务器都会卡一会。可能几分钟。
日志如下:
FlushCache: cleaned up 1808 bufs with 1153 writes in 235582 ms (avoided 257 new dirty bufs) for db 20:0
average throughput: 0.06 MB/sec, I/O saturation: 7999, context switches 16454
last target outstanding: 80, avgWriteLatency 15