oracle數(shù)據(jù)庫如何打開歸檔?
xp system/manager file=d:\daochu.dmp full=y
1、連接windows系統(tǒng):打開cmd窗口Linux/Unix系統(tǒng):打開終端rman target / nocatalog;sqlplus /nologconn / as sysdba;
2、開啟歸檔sqlplus>shutdown immediate;(啟動歸檔前先要停止數(shù)據(jù)庫) sqlplus>startup mount;(數(shù)據(jù)庫以mount方式啟動) sqlplus>alter database archivelog;(啟動數(shù)據(jù)庫歸檔) sqlplus>alter system set log_archive_dest_1="/arch"(改變歸檔日志路徑,windows系統(tǒng)使用盤符)sqlplus>alter database open;(打開數(shù)據(jù)庫) sqlplus>archive log list;(查看歸檔是否已經(jīng)打開)關閉歸檔alter database noarchivelog;