1、第一步,查看当前归档模式状态
SQL> archive log list Database log mode Archive Mode Automatic archival Enabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 25 Next log sequence to archive 27 Current log sequence 27
2、第二步,将数据库关闭后,然后再置于mount状态
SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount ORACLE instance started. Total System Global Area 417546240 bytes Fixed Size 2213936 bytes Variable Size 268437456 bytes Database Buffers 138412032 bytes Redo Buffers 8482816 bytes Database mounted.
3、第三步,将数据库修改为非归档模式状态
SQL> alter database noarchivelog;
Database altered.
4、第四步,将数据库置于open状态
SQL> alter database open;
Database altered.
5、第五步,查看归档模式状态
SQL> archive log list; Database log mode No Archive Mode Automatic archival Disabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 25 Current log sequence 27