To disable Threshold for tablespace (Percent type), use following statement
<br />
exec DBMS_SERVER_ALERT.SET_THRESHOLD( -<br />
metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL, -<br />
warning_operator => DBMS_SERVER_ALERT.OPERATOR_DO_NOT_CHECK,-<br />
warning_value => '0', critical_operator => DBMS_SERVER_ALERT.OPERATOR_DO_NOT_CHECK,-<br />
critical_value => '0', observation_period => 1,-<br />
consecutive_occurrences => 1, instance_name => NULL, -<br />
object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,-<br />
object_name => 'USERS');<br />
Replace tablespace USER with the tablespace you want to exclude from monitoring
If you have also enabled tablespace alerts based on Bytes left, then use following
<br />
exec DBMS_SERVER_ALERT.SET_THRESHOLD( -<br />
metrics_id => DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE, -<br />
warning_operator => DBMS_SERVER_ALERT.OPERATOR_DO_NOT_CHECK, -<br />
warning_value => '0', -<br />
critical_operator => DBMS_SERVER_ALERT.OPERATOR_DO_NOT_CHECK, -<br />
critical_value => '0', observation_period => 1, -<br />
consecutive_occurrences => 1, -<br />
instance_name => NULL, -<br />
object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE, -<br />
object_name => 'USERS');<br />
Recent Comments