查询Oracle归档日志状态
方法一
SQL> archive log list;
方法二
SQL> select name,log_mode from V$database;
打开Oracle归档日志
oracle$ sqlplus / as sysdba
SQL> shutdown immediate;
SQL> startup mount;
SQL> alter database archivelog;
SQL> alter database open;
SQL> exit
关闭Oracle归档日志
oracle$ sqlplus / as sysdba
SQL> shutdown immediate;
SQL> startup mount;
SQL> alter database noarchivelog;
SQL> alter database open;
SQL> exit