Oracle DBA, How To, Error, Cause and Action

ORA-04032: pga_aggregate_target must be set before switching to automode

ORA-04032: pga_aggregate_target must be set before switching to auto mode




Cause: attempt to set workarea_size_policy to AUTO while pga_aggregate_target is not specified




Action: before setting workarea_size_policy, set pga_aggregate_target to a value representing the total private memory available to the instance. This total is generally the total physical memory available in the system minus what is needed for the SGA minus what is needed for the operating system (e.g. 500MB)