????Oracle ???????????Oracle?鵵????????????????????????????????Oracle??????е???????????????????????滮?????????????????????????????????????С???????????????????ò???????????????С?????????????ε?????????????С??

????1?????????

sys@CNBO1> select * from v$version where rownum<2;

BANNER
----------------------------------------------------------------
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production

sys@CNBO1> archive log list;
Database log mode              Archive Mode    -->?????鵵??
Automatic archival             Enabled
Archive destination            /u02/database/CNBO1/archive/
Oldest online log sequence     4881
Next log sequence to archive   4884
Current log sequence           4884

????2???????????

sys@CNBO1> @log_stat

    GROUP# MEMBER                                         SEQUENCE#    SIZE_MB STATUS
---------- --------------------------------------------- ---------- ---------- -------
         1 /u02/database/CNBO1/redolog/log1aCNBO1.log          4881         20 ACTIVE
         1 /u02/database/CNBO1/redolog/log1bCNBO1.log          4881         20 ACTIVE
         2 /u02/database/CNBO1/redolog/log2aCNBO1.log          4882         20 ACTIVE
         2 /u02/database/CNBO1/redolog/log2bCNBO1.log          4882         20 ACTIVE
         3 /u02/database/CNBO1/redolog/log3aCNBO1.log          4883         20 ACTIVE
         3 /u02/database/CNBO1/redolog/log3bCNBO1.log          4883         20 ACTIVE
         4 /u02/database/CNBO1/redolog/log4aCNBO1.log          4884         20 ACTIVE
         4 /u02/database/CNBO1/redolog/log4bCNBO1.log          4884         20 CURRENT

8 rows selected.

sys@CNBO1> select group#??archived??status from v$log;

    GROUP# ARC STATUS
---------- --- ----------------
         1 YES ACTIVE
         2 YES ACTIVE
         3 YES ACTIVE
         4 NO  CURRENT