巡检评分 扣分项 含义 扣分子项 条件 分数计算规则 内存使用率(memUsage) 一天的平均内存使用率。 严重事件 memUsage>90% min[3 + (memUsage0.9)50, 10] 内存使用率(memUsage) 一天的平均内存使用率。 警告事件 80%<memUsage<90% 1+(memUsage0.8)20 CPU使用率(cpuUsage) 一天的CPU平均使用率。 说明 多核CPU需要换算为单核进行计算。 严重事件 cpuUsage>80% min[3+(cpuUsage0.8)30,10] CPU使用率(cpuUsage) 一天的CPU平均使用率。 说明 多核CPU需要换算为单核进行计算。 警告事件 70%<cpuUsage<80% 1+(cpuUsage0.7)20 空间使用率(spaceUsage) (已使用空间的平均值/总空间)100%。 严重事件 spaceUsage > 90% min[3+(spaceUsage0.9)40,10] 空间使用率(spaceUsage) (已使用空间的平均值/总空间)100%。 警告事件 70%<spaceUsage<90% 1+(spaceUsage0.7)20 连接使用率(connectionRate) 一天内连接数的平均值/最大允许的连接数。 严重事件 connectionRate>80% 3 连接使用率(connectionRate) 一天内连接数的平均值/最大允许的连接数。 警告事件 70%<connectionRate<80% 1 IOPS使用率(iopsUsage) (一天内IOPS的平均值/最大允许IOPS值)100%。 严重事件 iopsUsage>90% 5 IOPS使用率(iopsUsage) (一天内IOPS的平均值/最大允许IOPS值)100%。 警告事件 70%<iopsUsage<90% 3 活跃会话(threadRunning) 一天内产生的活跃会话的个数。 严重事件 threadRunning>min(4cpuCores+8,96) 9 活跃会话(threadRunning) 一天内产生的活跃会话的个数。 警告事件 threadRunning>min(2cpuCores+8,64) 3 慢SQL数量(slowSqlCount) 一天内产生的慢SQL的总条数。 严重事件 slowSqlCount>500 18+(slowSqlCount10)/30 慢SQL数量(slowSqlCount) 一天内产生的慢SQL的总条数。 警告事件 100<slowSqlCount<500 4+(slowSqlCount100)/30 慢SQL数量(slowSqlCount) 一天内产生的慢SQL的总条数。 优化事件 0