This section describes how to change to automatic shared memory management if either automatic memory management or manual shared memory management is currently enabled for your database instance.
To change to automatic shared memory management if automatic memory management is currently enabled:
If automatic memory management is currently enabled, but you would like to have more direct control over the sizes of the System Global Area (SGA) and instance Program Global Area (PGA), you can disable automatic memory management and enable automatic shared memory management. Follow these steps:
In Oracle Enterprise Manager Database Express (EM Express), from the Configuration menu, select Initialization Parameters.
The Initialization Parameters page appears, with the Current tab displayed.
In the Search field, enter MEMORY_TARGET
.
Select MEMORY_TARGET
, and then click Set.
The Set Initialization Parameter page appears.
In the Value field, enter 0, specify a Scope of Memory, and then click OK.
A confirmation message appears.
Note:
This step changes automatic memory management to automatic shared memory management for the current session. To change automatic memory management to automatic shared memory management and keep it in effect after the database is restarted:
If your database uses a server parameter file, specify a Scope of SPFile as well as a Scope of Memory on the Set Initialization Parameter page.
If your database uses a text initialization parameter file, manually set the value of MEMORY_TARGET
to 0 in that file.
From the Configuration menu, select Memory.
Note that in the SGA Memory subsection of the Memory Settings section, the Management Mode value is now Auto. This indicates that automatic shared memory management is enabled. The initialization parameter values shown on this page are the ones that have been specified in addition to MEMORY_TARGET
.
To change to automatic shared memory management if manual shared memory management is currently enabled:
If manual shared memory management is currently enabled, but you would like Oracle Database to help you determine optimal sizes of the SGA and instance PGA, you can disable manual shared memory management and enable automatic shared memory management. Follow these steps: