在更改數據庫歸檔模式時碰到ORA-00265錯誤
SQL> alter database archivelog;
ORA-00265: 要求例程恢復,沒法設置 ARCHIVELOG 模式
查閱資料,解決方法以下:
SQL> shutdown immediate
ORA-01109: 數據庫未打開
已經卸載數據庫。
ORACLE 例程已經關閉。
SQL> startup restrict --多了這個步驟,
ORACLE 例程已經啓動。
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
數據庫裝載完畢。
數據庫已經打開。
SQL> shutdown
數據庫已經關閉。
已經卸載數據庫。
例程已經關閉。
SQL> startup mount
ORACLE 例程已經啓動。
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
數據庫裝載完畢。
SQL> alter database archivelog;
數據庫已更改。