Data Guard Archive Status


Job details

Name: Data Guard Archive Status
Platform: Oracle
Category: Availability
Description: Checks that the standby database is receiving archive files from master database.
Long description: Task checks that the standby database is receiving archive files from the master database.
Version: 3.0
Default schedule: 10,40 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & _priv_read_v_instance = ‘1′ & _priv_read_v_database = ‘1′ & _priv_read_v_archived_log = ‘1′]

Parameters

Name Default value Description
warning threshold 5 This parameter is used to control the gap between ARCHIVED_SEQ# values for Master and Standby databases (V$ARCHIVE_DEST_STATUS dictionary performance view).
alarm threshold 20 This parameter is used to control the gap between ARCHIVED_SEQ# values for Master and Standby databases (V$ARCHIVE_DEST_STATUS dictionary performance view).
local dest ID 1 This parameter refers to DEST_ID value (V$ARCHIVE_DEST_STATUS dictionary performance view) for local archive destination.
remote dest ID 2 This parameter refers to DEST_ID value (V$ARCHIVE_DEST_STATUS dictionary performance view) for remote archive destination.

Job Summary

SELECT DB_NAME, HOST_NAME, DB_UNIQUE_NAME, REMOTE_HOST, LOG_ARCHIVED, LOG_APPLIED, APPLIED_TIME, LOG_GAP FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID = [desired ID];

Job Description

Report Details

Table Display (Reported Information in dbWatch)

Primary Database Primary Hostname Standby Database Standby Hostname Log Archived Log Applied Applied Time Current Log Gap
Database Name 1 Hostname 1 Standby DB Name 1 Standby Hostname 1 Number Number Timestamp Number

Operational Logic

Dependencies and Implementations

By creating a continuous check loop and generating benchmark reports, this job in dbWatch Control Center effectively ensures the optimal operation and reliability of Oracle Data Guard setups, protecting the databases against potential failures due to unsynchronized data.