My Oracle Support Banner

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

Last updated on FEBRUARY 15, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 to 10.2.0.5 [Release 10.2]
Information in this document applies to any platform.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.