Ref: http://select-star-from.blogspot.com.au/search/label/DATAGUARD Method :1 ========= PRIMARY ======== sqlplus "/ as sysdba" set pages 50000 lines 32767col OPEN_MODE for a10 col HOST_NAME for a10 col DATABASE_ROLE for a7 select NAME,DB_UNIQUE_NAME,INSTANCE_NAME,HOST_NAME,OPEN_MODE,LOG_MODE,DATABASE_STATUS,DATABASE_ROLE,SWITCHOVER_STATUS,PROTECTION_MODE,PROTECTION_LEVEL,CONTROLFILE_TYPE,STATUS,LOGINS,to_char(STARTUP_TIME,'DD-MON-YYYY HH24:MI:SS') "DB UP TIME" from v$database,gv$instance; SELECT NAME,OPEN_MODE,DATABASE_ROLE,PROTECTION_LEVEL,SWITCHOVER_STATUS,STATUS,LOGINS FROM V$DATABASE,GV$INSTANCE; select THREAD#,SEQUENCE#,STATUS,ARCHIVED from v$log; select dest_id,database_mode,recovery_mode,protection_mode,archived_seq#,applied_seq# from v$archive_dest_Status where dest_id in (1,2); set pages 50000 lines 32767Set scan off Set feed off BREAK ON ROW SKIP 1 COL "THREAD" for a10 COL "PR-ARCHIVED" for a15 COL "STBY-ARCHIVED"...