Using a Data Guard setup with real time log apply.
Is it possible to get an alarm, when the standby database is x seconds behind the primary database?
The current "Data Guard Gap" alarms are using the "sequence#" column in "v$archived_log" view in order to detect the gaps.
Using standby redo logs for real time apply is supported by the current alarm mechanism, however, it is based on the "sequence#" gap and not on the time gap.
WORKAROUND
Write an User Defined Collection (UDC) and a rule based on this collection.
A step-by-step instructions to create an UDC can be found in the "Configuring User-defined Collections" section in this Oracle cartridge documentation available here.
The instructions to create a rule based on an UDC can be found in this solution.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center