denrepo

Init parameterMemory

PGA_AGGREGATE_TARGET

Changes immediately

What it controls

Target for the total private memory of all server processes, used for sorts, hash joins and bitmap operations.

Know this before you change it

It's a target, not a limit; sessions can go over it. A rising over-allocation count in V$PGASTAT means it's too small.

Check and change it

pga_aggregate_target.sql
1-- Current value on every instance2SELECT inst_id, name, value, isdefault, ismodified3FROM gv$parameter4WHERE name = 'pga_aggregate_target';5 6-- Value stored in the spfile7SELECT sid, value FROM v$spparameter WHERE name = 'pga_aggregate_target' AND isspecified = 'TRUE';8 9-- Dynamic: takes effect now and is kept after a restart10ALTER SYSTEM SET pga_aggregate_target = 4G SCOPE = BOTH SID = '*';11 12-- Remove it from the spfile to go back to the default at the next restart13ALTER SYSTEM RESET pga_aggregate_target SCOPE = SPFILE SID = '*';

Related scripts

Open in the parameter referenceOracle's reference

More in Memory