Oracle Dataguard Monitoring Scripts -4


Dataguard should be monitored everytime by Oracle DBA.



You can read other Oracle Dataguard monitoring scripts like following.




To see all parameters of Oracle dataguard, you can execute following query.


set linesize 500 pages 0
col value for a80
col name for a50

select name, value from v$parameter
where name in ('db_name','db_unique_name','log_archive_config',    
               'log_archive_dest_state_1','log_archive_dest_state_2','log_archive_dest_state_3', 'remote_login_passwordfile',
              'log_file_name_convert', 'standby_file_management') order by 1;



To see applied archivelogs in dataguard, execute following script.

 select thread#,sequence#,first_time,next_time,applied from gv$archived_log where applied='YES';


Below script provides information about max sequence of dataguard

select thread#,max(sequence#) from gv$archived_log group by thread#;


Mehmet Salih Deveci

I am Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *