You are on page 1of 5

ORACLE Enable Automatic Memory Management on 11g.

Note: - MEMORY_MAX_TARGET should be greater than MEMORY_TARGET and


MEMORY_TARGET should be minimum 1800M or else database will not start.
Login to the target system and stopsap by user <sid>adm.

Su - <ora>sid.
Sqlplus / as sysdba

Check if the DB is running with pfile or spfile. In this case its spfile.

Create pfile from spfile;

Show parameter memory;

Show parameter sga;

Show parameter pga;

show parameter target;

ALTER SYSTEM SET MEMORY_MAX_TARGET = nM SCOPE = SPFILE;

Shutdown immediate;

Startup;

ALTER SYSTEM SET MEMORY_TARGET = nM scope = SPFILE;

ALTER SYSTEM SET SGA_TARGET = 0 scope = SPFILE;

ALTER SYSTEM SET PGA_AGGREGATE_TARGET = 0 scope = SPFILE;

Shutdown immediate;

Startup;

Show parameter target;

Create pfile from spfile;

With this AMM on oracle 11g is completed.


su - <sid>adm
Startsap r3

You might also like