A) . 查看进程的活动状况--- v$managed_standby
SQL> select process,client_process,sequence#,status from v$managed_standby;
PROCESS CLIENT_P SEQUENCE# STATUS
--------- -------- ---------- ------------
ARCH ARCH 763 CLOSING
ARCH ARCH 762 CLOSING
MRP0 N/A 764 WAIT_FOR_LOG
RFS LGWR 764 IDLE
RFS N/A 0 IDLE
B) . 确认redo应用进度---v$archive_dest_status
SQL> select dest_name,archived_thread#,archived_seq#,applied_thread#,applied_seq#,db_unique_name
2 from v$archive_dest_status where status=¨VALID¨;
DEST_NAME ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ# DB_UNIQUE_
-------------------- ---------------- ------------- --------------- ------------ ----------
LOG_ARCHIVE_DEST_1 1 765 0 0 jsspdg
LOG_ARCHIVE_DEST_2 0 0 0 0 jssweb
STANDBY_ARCHIVE_DEST 1 764 1 764 NONE
C) . 检查归档文件路径及创建信息---v$archived_log
SQL> select name,creator,sequence#,applied,completion_time from v$archived_log;
NAME CREATOR SEQUENCE# APP COMPLETION_TIM
-------------------------------------------------- ------- ---------- --- --------------
E:\ORA10G\ORADATA\JSSPDG\LOG1_750_641301252.ARC ARCH 750 YES 18-1 月 -08
E:\ORA10G\ORADATA\JSSPDG\LOG1_749_641301252.ARC ARCH 749 YES 18-1 月 -08
E:\ORA10G\ORADATA\JSSPDG\LOG1_751_641301252.ARC ARCH 751 YES 18-1 月 -08
E:\ORA10G\ORADATA\JSSPDG\LOG1_752_641301252.ARC ARCH 752 YES 18-1 月 -08
E:\ORA10G\ORADATA\JSSPDG\LOG1_753_641301252.ARC ARCH 753 YES 18-1 月 -08
E:\ORA10G\ORADATA\JSSPDG\LOG1_754_641301252.ARC ARCH 754 YES 18-1 月 -08
D) . 查询归档历史---v$log_history
SQL> select first_time,first_change#,next_change#,sequence# from v$log_history;
FIRST_TIME FIRST_CHANGE# NEXT_CHANGE# SEQUENCE#
------------------- ------------- ------------ ----------
2008-01-03 12:00:51 499709 528572 18
2008-01-08 09:54:42 528572 539402 19
2008-01-08 22:00:06 539402 547161 20
2008-01-09 01:05:57 547161 560393 21
2008-01-09 10:13:53 560393 561070 22