切換Oracle的歸檔模式以及非歸檔模式 |
發(fā)布時間: 2012/8/9 17:10:35 |
sqlplus /nolog SQL> conn system/password@oraname as sysdba 首先關(guān)閉數(shù)據(jù)庫: SQL> shutdown normal 或 SQL> shutdown immediate; 查看現(xiàn)在的狀態(tài): SQL> archive log list; 轉(zhuǎn)換模式 SQL> startup mount; SQL> alter database archivelog; 或 SQL> alter database noarchivelog; 啟動數(shù)據(jù)庫 SQL> alter database open; 還沒搞清歸檔模式什么用,目前我設(shè)置歸檔模式的現(xiàn)象就是每過幾個小時就死機一次 (數(shù)據(jù)庫服務死掉) 本文出自:億恩科技【www.allwellnessguide.com】 |