Invalid objects check


Job details

Name: Invalid objects check
Platform: Oracle
Category: Maintenance
Description: Detecting invalid objects in the database.
Long description: This check detects invalid objects in the database.
Version: 1.9
Default schedule: 40 7,17 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & ten_and_above = ‘1′ & _priv_read_dba_objects = ‘1′]

Parameters

Name Default value Description
ignore object name object name excluded from being checked (comma separated). The format is OWNER.OBJECT example SYS.LOCKING
ignore owner owner excluded from being checked (comma separated).
return status on invalid objects 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when an invalid object appears (and are not in “ignore object name” list).

Job Summary

SELECT owner, object_name FROM dba_objects WHERE status = 'INVALID';

Job Operation

Report Details

select owner as "Owner", object_name as "Name", created as "Created", last_ddl_time as "Last DDL", histr_date as "Detected" from dbw_invalid_hist order by 5,1,2

Implementation Details

Additional Configurations

This configuration and execution strategy ensure a robust check on the health and integrity of Oracle database objects, thereby safeguarding the database against potential failures and performance issues related to invalid objects.