DBA_OUTSTANDING_ALERTS NOT SHOWING ALERT FOR TABLESPACE THAT EXCEEDED THRESHOLD (Doc ID 870602.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 08-Jul-2016***

Symptoms

Tablespace has hit the threshold percentage yet  no alert is seen.
The tablespace usage is correctly reported in dba_tablespace_usage_metrics, however
no alert is seen in DBA_OUTSTANDING_ALERTS and hence no alert is reported on
the Grid Control Metric Page.

Example:

Check the tablespace usage

SQL> select * from dba_tablespace_usage_metrics where tablespace_name = 'DUMMY';

TABLESPACE_NAME USED_SPACE TABLESPACE_SIZE USED_PERCENT
DUMMY 23 25 92

Check the current threshold settings

SQL> SELECT "METRICS_NAME", 
"WARNING_OPERATOR" WARN_OP, "WARNING_VALUE" WARN_VAL, 
"CRITICAL_OPERATOR" CRIT_OP, "CRITICAL_VALUE" CRIT_VAL, 
"OBJECT_TYPE" OBJ_TYPE, 
"OBJECT_NAME" OBJ_NAME, 
"STATUS" 
FROM "SYS"."DBA_THRESHOLDS" 
WHERE metrics_name like '%Tablespace%';

METRICS_NAME WARN_OP
---------------------------------------------------------------- ------------
WARN_VAL CRIT_OP CRIT_VAL OBJ_TYPE OBJ_NAME STATUS
-------- ------------ -------- ---------- ---------- -------
Tablespace Bytes Space Usage LE
0 LE 0 TABLESPACE VALID

Tablespace Space Usage GE
85 GE 97 TABLESPACE VALID

Check the outstanding alerts

SQL> SELECT "OBJECT_NAME", "OBJECT_TYPE", "REASON", 
"SUGGESTED_ACTION", "ADVISOR_NAME", 
"METRIC_VALUE", "MESSAGE_TYPE", "MESSAGE_LEVEL",
"INSTANCE_NAME", 
"INSTANCE_NUMBER", "ERROR_INSTANCE_ID" 
FROM "SYS"."DBA_OUTSTANDING_ALERTS" 
WHERE reason_id=9;


No rows selected

As per threshold settings we should have seen an alert for the tablespace DUMMY however it is not reported in the outstanding alerts.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms