標籤:
環境:oracle 11g 單機
操作過程:由於修改SGA的大小,只修sga_max_size,沒有修改sga_target,改導sga_max_size大於sga_target的大小,使得資料庫無法啟動
無法啟動報錯誤號碼為:ORA-00844、ORA-00851 解決過程:1,先用備用的pfile啟動oraclec:/>sqlplus /nolog SQL>conn sys/[email protected] as sysdba SQL>startup pfile=‘D:\app\Administrator\admin\orcl\pfile\init.ora.1023201294059‘這一步注意pfile的位置,一般11g的都是以數字結尾,應該能在上述目錄找到,這個檔案本來就是備用的。通過上述方式應該能啟動起來。 2,重新建立spfileSQL>create spfile from pfile=‘D:\app\Administrator\admin\orcl\pfile\init.ora.1023201294059‘; 3,重啟資料庫SQL>shutdown immediate;SQL>startup這一步能啟動就好了 ==========================================================================調整oracle 單節點SGA步驟(已經實踐)============================================================================================== =================================================================================================調整oracle rac SGA步驟(未實踐)===================================================================================================================
sga_target大於sga_max_size資料庫無法啟動