DR Commands

Embed Size (px)

Citation preview

  • 7/25/2019 DR Commands

    1/1

    Check database name, database unique name, open mode and role in the DR configuration

    select name,open_mode,db_unique_name,database_role from v$database;----------------------------------------------------------------See which host the instance is running on

    select host_name,instance_name,startup_time from v$instance;----------------------------------------------------------------See status of archived logs reception and standby database log application

    select thread#,sequence#,archived,applied from v$archived_log order by thread#,sequence#;----------------------------------------------------------------Validity of redo archival destination (dest_id 1 is local and 2 is DR server inconfigured setup)

    select dest_id,status,error from v$archive_dest where dest_id