关于数据库归档
--查看数据库是否归档模式 SQL> select name,log_mode from v$database;NAME LOG_MODE--------- ------------ENMO NOARCHIVELOGSQL> archive log list;Database log mode No Archive ModeAutomatic archival DisabledArchive destination /u01/app/oracle/product/11.2.0/dbhome_1/dbs/archOldest online log sequence 6Current log sequence 8--要关闭数据库 在mount下启动数据库SQL> shutdown immediate Database closed.Database dismounted.ORACLE instance shut down.SQL> startup mount ORACLE instance started.Total System Global Area 835104768 bytesFixed Size 2257840 bytesVariable Size 541068368 bytesDatabase Buffers 289406976 bytesRedo Buffers 2371584 bytesDatabase mounted.SQL> SQL> --更改数据库为归档模式SQL> alter database archivelog;Database altered.--- 打开数据库SQL> alter database open;Database altered.--启动自动归档SQL> alter system archive log start;System altered.SQL>