How to configure SGA_MAX_SIZE parameter [message #596544] |
Tue, 24 September 2013 11:46 |
|
rcct
Messages: 36 Registered: May 2013 Location: Ottawa, ON
|
Member |
|
|
Hi all,
The Memory tuning advisor has recommended that I increase the size of the SGA_TARGET to 5G, from my current size of 3G.
SQL> select * from v$sga_target_advice order by sga_size;
SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS
---------- --------------- ------------ ------------------- -------------------
1536 .5 1555141 1.667 7251211
2304 .75 949130 1.0174 4572127
3072 1 932898 1 2258733
3840 1.25 930939 .9979 2168835
4608 1.5 929819 .9967 2005529
5376 1.75 929166 .996 2005529
6144 2 928980 .9958 2005529
7 rows selected.
However, the SGA_MAX_SIZE parameter is set to 3G, so when I do:
SQL> ALTER SYSTEM SET sga_target=5376M scope=both;
ALTER SYSTEM SET sga_target=5376M scope=both
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00823: Specified value of sga_target greater than sga_max_size
My database used spfile. I know that the procedure to change this is the following:
Create pfile from spfile, shutdown immediate, change value in pfile, startup with pfile
However, the pfile does not have any parameter called max_sga_size. It only has the following:
<dbsid>.__sga_target=3221225472
*.sga_target=3221225472
Can someone recommend how to change sga_max_size? Thanks.
|
|
|
|
|
|
|
|
Re: How to configure SGA_MAX_SIZE parameter [message #597390 is a reply to message #596564] |
Fri, 04 October 2013 05:24 |
8939513598$
Messages: 103 Registered: July 2013 Location: chennai
|
Senior Member |
|
|
Hi Michel, whether the parameter "MEMORY_TARGET" obsolete in 11.2.0.1.0 ?,let me understand better, my output was,
SQL> alter system set MEMORY_TARGET=10000M scope=spfile;
System altered.
SQL> startup force;
ORA-00845: MEMORY_TARGET not supported on this system
SQL>
what would be reason ?
|
|
|
|