← Oracle// SCRIPTS

Data Guard

How to list applied archivelogs on an Oracle Data Guard standby

List archivelogs marked applied on an Oracle Data Guard standby with thread, sequence, and time range from GV$ARCHIVED_LOG.

11g12c18c19c21c23ai26ai

How to stop managed recovery (MRP) on an Oracle Data Guard standby

Cancel Oracle Data Guard managed recovery (MRP) on a physical standby with ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL.

11g12c18c19c21c23ai26ai

How to start managed recovery (MRP) on an Oracle Data Guard standby

Start Oracle Data Guard managed recovery (MRP) in real-time apply mode with USING CURRENT LOGFILE DISCONNECT.

11g12c18c19c21c23ai26ai

How to check Data Guard status messages and recent errors in Oracle

Read Oracle Data Guard status messages from V$DATAGUARD_STATUS, filtered to the last 10 minutes for quick incident triage.

11g12c18c19c21c23ai26ai

How to check Data Guard transport and apply lag in Oracle

Show Oracle Data Guard transport lag and apply lag values from V$DATAGUARD_STATS.

11g12c18c19c21c23ai26ai

How to check the redo apply gap on an Oracle Data Guard standby

Compare last received vs last applied sequence per thread on an Oracle Data Guard standby, with RAC-aware host and timestamp variants.

11g12c18c19c21c23ai26ai

How to check the archive log gap on an Oracle Data Guard standby

List missing archivelog sequences on an Oracle Data Guard standby from V$ARCHIVE_GAP.

11g12c18c19c21c23ai26ai

How to check Data Guard apply rate in Oracle

Show the current active and average redo apply rate (MB/sec) from V$RECOVERY_PROGRESS on an Oracle Data Guard physical standby.

11g12c18c19c21c23ai26ai

How to check Oracle Data Guard parameters

Show the Oracle Data Guard-related init.ora parameters — LOG_ARCHIVE_DEST_n, FAL_SERVER, FAL_CLIENT, name conversions, and standby file management.

11g12c18c19c21c23ai26ai

How to check managed standby process status in Oracle Data Guard

Show Oracle Data Guard managed standby processes (MRP, RFS, LNS, ARCH) with status, thread, sequence, and current block from V$MANAGED_STANDBY.

11g12c18c19c21c23ai26ai

How to check standby redo log groups in Oracle Data Guard

List Oracle standby redo log groups with sequence, size, and member paths from V$STANDBY_LOG.

11g12c18c19c21c23ai26ai