Hi,
I'm trying to increase the value for the parameter memory_target target, but Oracle complains that it cannot shrink it.
Why does Oracle complain it cannot shrink the memory while I clearly want to grow it?
I know I can "fix" this by using scope=spfile and then bounce the instance, but I'm more interested on why this error occurs.
The operating system is Windows 2008 R2 Server
I'm trying to increase the value for the parameter memory_target target, but Oracle complains that it cannot shrink it.
Code:
c:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Jul 1 10:49:46 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select banner from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production
SQL> show parameter memory_target
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
memory_target big integer 40G
SQL> show parameter memory_max_target
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
memory_max_target big integer 58G
SQL> alter system set memory_target=45G scope=both;
alter system set memory_target=45G scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invali
ORA-00846: could not shrink MEMORY_TARGET to specified value
SQL>
I know I can "fix" this by using scope=spfile and then bounce the instance, but I'm more interested on why this error occurs.
The operating system is Windows 2008 R2 Server