怎么解决Oracle ASM中报错ORA-00843 ORA-00849问题
本篇内容主要讲解“怎么解决Oracle ASM中报错ORA-00843 ORA-00849问题”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“怎么解决Oracle ASM中报错ORA-00843 ORA-00849问题”吧!
错误描述
ORA-00843:ParameternottakingMEMORY_MAX_TARGETintoaccountORA-00849:SGA_TARGET4194304cannotbesettomorethanMEMORY_MAX_TARGET0.
错误原因
memory_max_targetmemory_target两个参数关闭时,不能同时显式的指定为0,同时指定为0,启动时将会发生上面错误,导致ASM启动失败,进而导致CRS启动失败SQL>altersystemsetsga_target=700Mscope=spfile;Systemaltered.SQL>altersystemsetsga_max_size=800Mscope=spfile;Systemaltered.SQL>altersystemsetpga_aggregate_target=200Mscope=spfile;SQL>altersystemsetmemory_target=0scope=spfilesid='*';Systemaltered.SQL>altersystemsetmemory_max_target=0scope=spfilesid='*';Systemaltered.SQL>altersystemresetmemory_max_targetscope=spfilesid='*';Systemaltered.
当发生ASM由于上面报错无法启动时解决
/*独占模式启动crs/*11.2.0.1#crsctlstartcrs-excl/*11.2.0.2以后#crsctlstartcrs-excl-nocrs/*手工编写asmpfile,指定pfile启动asm实例$sqlplus/assysasmSQL>startuppfile='/tmp/asm.pfile';/*手工修改pfile之后,创建spfileSQL>createspfile='+OCRDG'frompfile='';/*启动测试$sqlplus/assysasmSQL>shutdownimmediate;SQL>startup;/*关闭ASM实例,启动集群#crsctlstopcrs-f#crsctlstartcrs
到此,相信大家对“怎么解决Oracle ASM中报错ORA-00843 ORA-00849问题”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。