Framework


Job details

Name: Framework
Platform: Oracle
Category: Maintenance
Maintenance
Description: Engine framework is used when upgrading earlier versions of dbWatch. Ensures the dbWatch Engine and dbWatch Server run compatible codes.
Long description: Engine framework is used when upgrading earlier versions of dbWatch Engine Framework. This task makes sure that the dbWatch Engine and the dbWatch Server run compatible codes. It also auto-tunes the dbWatch schema.
Version: 3.3
Default schedule: 50 5 1 *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & maj_version=‘8′]

Parameters

Name Default value Description
Remove unescalated status check history 30 Days to keep the check history for checks that have alerted but not escalated status
Remove check history 365 Days to keep the check history

Job Summary

SELECT * FROM dbw_framework_tab_info;
SELECT * FROM dbw_framework_tab_del_histr;

Details and Operations

The main operations performed by this job include:

The job uses the following SQL structures:

SQL Operation Description
“Gather table statistics” Ensures that statistics for user tables are up-to-date.
Conditional data removal Deletes records from dbW_checks_history older than specified number of days or involves specific check statuses.
Data integrity checks Inserts and updates dbw_framework_tab_info to maintain a log of tables with date issues.
Cleanup reporting Updates dbw_framework_tab_del_histr to keep a track of table cleanup actions.

Schedule and Frequency

The job is scheduled to run based on a default pattern described in the configuration as:

Dependencies

Error Handling

Reporting

After each execution, reports are generated which detail:

This structured and automated monitoring and maintenance facilitated by the dbWatch job are essential for ensuring the operational efficiency and reliability of the dbWatch system on the Oracle platform.