ORA-00838: Specified value of MEMORY_TARGET is too small
在解决ORA-00020:maximum number of processes (150) exceeded问题时,不小心将processes值设置太大,就会造成这个问题。
但此时DB已经被shutdown了, 直接startup DB无法启动, 如下报错.
SYS> startup
ORA-00838: Specified value of MEMORY_TARGET is too small, needs to be at least 644M
解决方法:
1、创建pfile并修改processes值
create pfile='$ORACLE_HOME/spfileorcl_bak.ora' from spfile;
vi $ORACLE_HOME/spfileorcl_bak.ora
2、从新建的pfile启动数据库
startup pfile=$ORACLE_HOME/spfileorcl_bak.ora;
3、通过pfile重建SPFILE
CREATE SPFILE = '$ORACLE_HOME/dbs/spfileoltpsrv.ora' FROM PFILE = '$ORACLE_HOME/spfileorcl_bak.ora';