1、实时应用日志是11g物理dataguard的特性, Real-Time Apply ,也叫adg
物理standby实时应用日志:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE
逻辑standby 实时应用日志:
ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE
Real-time apply requires a standby database that is configured with a standby redo log and that is in ARCHIVELOG mode.
LOG_ARCHIVE_DEST_n initialization parameter to delay applying archived redo log files to the standby database.
By default, there is no time delay. If you specify the DELAY attribute without specifying a value, then the default delay interval is 30 minutes.
2、停止实时应用日志
物理standby停止实时应用日志:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY;
逻辑standby停止实时应用日志:
SQL> ALTER DATABASE START LOGICAL STANDBY APPLY NODELAY;
物理standby实时应用日志:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE
逻辑standby 实时应用日志:
ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE
Real-time apply requires a standby database that is configured with a standby redo log and that is in ARCHIVELOG mode.
LOG_ARCHIVE_DEST_n initialization parameter to delay applying archived redo log files to the standby database.
By default, there is no time delay. If you specify the DELAY attribute without specifying a value, then the default delay interval is 30 minutes.
2、停止实时应用日志
物理standby停止实时应用日志:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY;
逻辑standby停止实时应用日志:
SQL> ALTER DATABASE START LOGICAL STANDBY APPLY NODELAY;