Dataguard standby archivelog gap


Job details

Name: Dataguard standby archivelog gap
Platform: Oracle
Category: Cluster and Replication
Description: Checks refresh date of scheduled jobs in refresh group(s).
Long description:
Version: 1.0
Default schedule: 15m
Requires engine install: No
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]

Parameters

Name Default value Description
replicationgroup DGRAC Replication group metadata tag to identify primary and standby instances that are connected
gap_alarm_threshold 10 Gap alarm threshold
gap_warning_threshold 5 Gap warning threshold

Job Summary

SELECT THREAD#, SEQUENCE# FROM V$ARCHIVED_LOG ORDER BY THREAD#, SEQUENCE#;

Implementation Details

The monitoring job defines several elements to perform its operations effectively:

These parameters help in defining the specific replication group to monitor and the thresholds for triggering warnings or alarms based on the severity of the log sequence gap.

Job Functionality

The script performs the following steps:

After running the necessary checks, it updates the job status based on the findings:

Reporting

The job outcome is visually presented in a report format under the job title “Dataguard standby archivelog gap status”. The report includes:

The structured report ensures that database administrators can quickly understand and respond to synchronization issues within the Oracle Dataguard environment.