Snapshot Log(s) size


Job details

Name: Snapshot Log(s) size
Platform: Oracle
Category: Cluster and Replication
Description: Checks size of all snapshot logs.
Long description: Task checks the size of all snapshot logs.
Version: 2.3
Default schedule: 10 6,12,18 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘9%’ version like ‘10%’ version like ‘11%’)]

Parameters

Name Default value Description
schemas (owners of snapshot logs) null Names of schemas for which the snapshot-logs are checked.
warning threshold 300 The maximum size (in MB) of all snapshot-logs for a selected schema.
alarm threshold 500 The maximum size (in MB) of all snapshot-logs for a selected schema.

Job Summary

SELECT owner, COUNT(*) AS snap_count, ROUND(SUM(bytes)/1048576) AS size_MB FROM dba_segments WHERE segment_name LIKE 'MLOG$_%' GROUP BY owner;

Job Details

Job Actions

Dependencies and Implementations

The job has two main dependencies:

The primary function of the job is defined in the Oracle PL/SQL procedure snippet provided within the code section of the implementation:

<< SQL and PL/SQL implementation details as described >>

Reporting

Configuration

Given its crucial role, table creation for logging historical details and the procedure for the check are automatically handled upon job installation, with a setting to enforce installation irrespective of existing configurations (force-install).

In summary, this monitoring job plays an integral role in proactive database management by keeping snapshot log sizes under check to prevent potential storage and performance issues within an Oracle database environment.