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"