本帖最后由 3000p 于 2016-2-24 17:07 编辑
OEM频繁报警 "Database Time Spent Waiting (%)" is at 42.01582 for event class "Other" 查了下Database TimeSpent Waiting (%)的Other项的阀值发现默认是30%,我把测试机(11.2.0.4)的改成了5%,发现是生效的. BEGIN DBMS_SERVER_ALERT.SET_THRESHOLD(1001, 0, 51, NULL, NULL, 1, 3, 'dev', 4, 'Other'); END;
因为,过一会查看dba_outstanding_alerts可以看到6%的警报信息。
但是,我在生产库(11.2.0.4的RAC)把Other的阀值改成80%,还是依旧收到超过30%的警报。感觉sql没有生效,但是查看dba_thresholds是生效的。
SQL> SELECT metrics_name,warning_operator,warning_value from dba_thresholds WHERE metrics_name='Database Time Spent Waiting (%)' AND object_name='Other';
METRICS_NAME WARNING_OPERATOR WARNING_VALUE
---------------------------------------------------------------- ---------------- --------------------------------------------------------------------------------
Database Time Spent Waiting (%) GT 80
Database Time Spent Waiting (%) GT 80
最近一次报警是在24-Feb-16 15:42:00 下面是截取24-Feb-16 15:40:48到24-Feb-16 15:48:02的awr报告:
|