ORA-00843,ORA-00849

一:版本信息

操作系统版本:LINUX 6.2

数据库版本:11.2.0.1


二:错误描述

  今天在取消关闭某个库的自动内存管理功能(即把memory_max_target,memory_target两个参数设置为0),后重启数据库报如下错误:

ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
ORA-00849: SGA_TARGET 3305111552 cannot be set to more than MEMORY_MAX_TARGET 0.

三:错误原因及解决方案

   1.错误原因:

 The problem is caused by the MEMORY_MAX_TARGET parameter explicitly being set to 0. In case AMM should not be used, MEMORY_MAX_TARGET should not be set at all.(摘自ORA-00843, ORA-00849 When Trying To Change SGA_TARGET With MEMORY_MAX_TARGET=0 Being Active (Doc ID 1397761.1))

   2.处理方案

  通过spfile创建pfile,删除pfile中的memory_max_target=0,memory_target=0两行,再通过修改后的pfile重建spfile,使用新的spfile重启数据库。


##详细信息参见ORA-00843, ORA-00849 When Trying To Change SGA_TARGET With MEMORY_MAX_TARGET=0 Being Active (Doc ID 1397761.1)


你可能感兴趣的:(ORA-00843,ORA-00849)