查看数据库是否开启归档
select name,log_mode from v$database;
启用归档
startup mount
alter database archivelog;
alter database open;
禁止归档
关闭数据库shutdown immediate
startup mount
alter database noarchivelog
alter database open
select name,log_mode from v$database;
启用归档
startup mount
alter database archivelog;
alter database open;
禁止归档
关闭数据库shutdown immediate
startup mount
alter database noarchivelog
alter database open