修改Memory_max_target为0出错
2017-05-02 10:53
369 查看
SQL> connect / as sysdba
Connected.
SQL> alter system set memory_target=0;
System altered.
SQL> alter system set memory_max_target=0;
alter system set memory_max_target=0
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be
modified
SQL> alter system set memory_max_target=0
scope=spfile; --
System altered.
SQL> alter system set sga_target=6G
scope=spfile;
System altered.
SQL> alter system set
pga_aggregate_target=2112M;
System altered.
SQL> alter system set shared_pool_size=0;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into
account
ORA-00849: SGA_TARGET 6442450944 cannot be set to more than
MEMORY_MAX_TARGET 0.
SQL> startup nomount
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into
account
ORA-00849: SGA_TARGET 6442450944 cannot be set to more than
MEMORY_MAX_TARGET 0.
解决方法:
following errors are raised:
explicitly being set to 0. In case AMM should not be used,
MEMORY_MAX_TARGET should not be set at all.
create a PFILE from the SPFILE being used and remove the
MEMORY_MAX_TARGET=0 and MEMORY_TARGET=0 lines. After that, use the
modified PFILE to create a new SPFILE and start the instance with
this new setup.
should the instance be running, then use the following commands
to remove the explicit setting of MEMORY_TARGET=0 and
MEMORY_MAX_TARGET=0:
Connected.
SQL> alter system set memory_target=0;
System altered.
SQL> alter system set memory_max_target=0;
alter system set memory_max_target=0
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be
modified
SQL> alter system set memory_max_target=0
scope=spfile; --
System altered.
SQL> alter system set sga_target=6G
scope=spfile;
System altered.
SQL> alter system set
pga_aggregate_target=2112M;
System altered.
SQL> alter system set shared_pool_size=0;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into
account
ORA-00849: SGA_TARGET 6442450944 cannot be set to more than
MEMORY_MAX_TARGET 0.
SQL> startup nomount
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into
account
ORA-00849: SGA_TARGET 6442450944 cannot be set to more than
MEMORY_MAX_TARGET 0.
解决方法:
Symptoms
When trying to set SGA_TARGET using an ALTER SYSTEM command, thefollowing errors are raised:
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account ORA-00849: SGA_TARGET 10737418240 cannot be set to more than MEMORY_MAX_TARGET 0.
Changes
MEMORY_MAX_TARGET was set to 0.Cause
The problem is caused by the MEMORY_MAX_TARGET parameterexplicitly being set to 0. In case AMM should not be used,
MEMORY_MAX_TARGET should not be set at all.
Solution
The solutions to the problem are:create a PFILE from the SPFILE being used and remove the
MEMORY_MAX_TARGET=0 and MEMORY_TARGET=0 lines. After that, use the
modified PFILE to create a new SPFILE and start the instance with
this new setup.
should the instance be running, then use the following commands
to remove the explicit setting of MEMORY_TARGET=0 and
MEMORY_MAX_TARGET=0:
alter system reset memory_target; alter system reset memory_max_target;
相关文章推荐
- 修改Memory_max_target为0出错
- 修改Memory_max_target为0出错
- Oracle无法修改memory_max_target,memory_target的值
- Oracle的memory_max_target和memory_target修改和ORA-00845: MEMORY_TARGET not supported on this system错误解决
- 参数MEMORY_MAX_TARGET 和MEMORY_TARGET 的修改
- Oracle的memory_max_target和memory_target修改和ORA-00845: MEMORY_TARGET not supported on this system错误解决
- RAC中修改memory_max_target为0
- 关于oracle11G的自动内存管理MEMORY_TARGET和MEMORY_MAX_TARGET
- ORA-00851:SGA_MAX_SIZE 1577058304 cannot be set to more than MEMORY_TARGET 855638016 (816M)
- 修改oracle memory_target
- memory_max_target/memory_target/sga_max_size/sga_target
- ORACLE 修改 MEMORY_TARGET,查看oracle错误号oerr ORA
- ORA-02097、ORA-00837(修改memory_target时碰到的一个小问题);
- 关于oracle11G的自动内存管理MEMORY_TARGET和MEMORY_MAX_TARGET
- Oracle 11g AMM: MEMORY_TARGET, MEMORY_MAX_TARGET and /dev/shm
- 关于oracle11G的自动内存管理MEMORY_TARGET和MEMORY_MAX_TARGET
- Memory_max_target 与 Memory_target 使用介绍(11g新特性AMM)
- 【翻译自mos文章】11.2.0.4及更高版本的asm实例中MEMORY_TARGET 和 MEMORY_MAX_TARGET的默认值和最小值
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET