ORA-00371: not enough shared pool memory 錯誤處理

建立 Oracle dataguard 的過程中,

處理 standby 主機要開到 nomount 時,

出現錯誤 ORA-00371: not enough shared pool memory, should be atleast xxxxxxxxx bytes

SQL> startup nomount pfile='/oracle/product/11.2.0/db_1/dbs/initdgtest.ora';

ORA-00371: not enough shared pool memory, should be atleast 902443248 bytes

開機檔內容

cat initdgtest.ora

DB_NAME=dgtest

加入SHARED_POOL_SIZE參數進去

SHARED_POOL_SIZE=902443248

重啟服務

SQL> startup nomount pfile='/oracle/product/11.2.0/db_1/dbs/initdgtest.ora';

ORACLE instance started.

Total System Global Area 1156755456 bytes
Fixed Size		    2235768 bytes
Variable Size		  931136136 bytes
Database Buffers	  201326592 bytes
Redo Buffers		   22056960 bytes

從參考來源所寫的內容說明原因是 Oracle bug,在12c版本才修復。

 

參考來源:

ORA-00371: not enough shared pool memory解决方法

已轉向 blogger 記錄

https://slowlife-notes.blogspot.com