High Availability Data Guard, Sharding and Global Data Services (MOSC)

MOSC Banner

archive log generation time and applied time on Standby DB

Hi all,

i am tryin to create a shell script which gives the current archivelog gap status of Standby DB.

Though i am able to create the script which gets the current GAP status and sends the mail, i am not able to include the last archive log  generation time on PROD and the time when that archive log was applied on Standby DB.

Below is the SQL Script m using for GAP Status.

cat /oracle_11/oracle11/home/diff.sq

set lines 200

SELECT cu.thread#,

         cu.dest_id,

         la.lastarchived "Last Archived",

         cu.currentsequence "Current Sequence",

         appl.lastapplied "Last Applied"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center