If any object got deleted in Prod environment, it will be deleted in Stand by DB as well. How to protect this situation?
A standby database automatically applies redo logs when they arrive
from the primary database.
But in some cases, we want to create a time
lag between the archiving of a redo log at the primary site, and the
application of the log at the standby site.
Modify the LOG_ARCHIVE_DEST_n initialization parameter on the primary database to set a delay for the standby database.
The following is an example of how to add a 1-hour delay:
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=stdby_srvc DELAY=60';
The DELAY attribute is expressed in minutes.
The archived redo logs are still automatically copied from the
primary site to the standby site, but the logs are not immediately
applied to the standby database. The logs are applied when the specified
time interval expires.
Comments