場景:
碰到ORA-00257歸檔日志寫滿的解決方法這篇日志當中描述的歸檔日志寫滿的情況。
此時我想將數據庫切換到非歸檔模式,參考如何啟動或關閉oracle的歸檔(ARCHIVELOG)模式進行操作,但是在執行shutdown immediate;的時候卡死。
此時我重啟了windows oracle 數據庫服務器。
再次連接數據庫出現解決連接Oracle 11g報ORA-01034和ORA-27101的錯誤當中的問題。
解決方法:
sysdba身份連接oracle
C:\Documents and Settings\Administrator>sqlplus /nolog SQL> conn / as sysdba Connected to an idle instance. SQL> startup ORACLE instance started.
接入到mount狀態:
startup mount;
將數據庫切換到非歸檔模式:如何啟動或關閉oracle的歸檔(ARCHIVELOG)模式
alter database noarchivelog;
alter database open;