Oracle資料庫開啟歸檔

fjzcau發表於2015-12-31


sqlplus / as sysdba
SQL> shutdown immediate;
SQL> startup mount; 
SQL> alter database archivelog;
SQL> alter system set log_archive_dest_1 = 'LOCATION=/oracle/archive' ; 
SQL> alter database open;

# 切換日誌 
SQL> archive log list;
SQL> alter system switch logfile;

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22661144/viewspace-1969311/,如需轉載,請註明出處,否則將追究法律責任。

相關文章