ORA-32001:write to spfile requested but no spfile is in use请求写入spfile,但没有使用spfile的解决方法
在输入以下语句中报了这样的错误:
SQL>alter system set control_files=’/u01/app/oracle/oradata/prod/ora_control1.ctl’,’/u01/app/oracle/oradata/prod/ora_control2.ctl’
scope=spfile
发现问题
我使用的Oracle11g,当我敲下如下一段命令后,就让我傻眼了。。
alter system set sga_max_size=960M scope=spfile;
shutdown immediate
startup
此时的startup报错了,错误为:
SQL> startup
ORA-00844: Parameter not taking MEMORY_TARGET into account
ORA-00851: SGA_MAX_SIZE 985661440 can