Tags

11g (3) 12c (4) 18c (2) 19c (3) ASM (3) Critical Patch (12) Dataguard (10) GRID (3) GitLab (2) Linux (10) OEM (2) ORA Errors (15) Oracle (19) RMAN (5)

Wednesday, January 21, 2026

SGA resize

How to resize SGA

PURPOSE: All documents are provided on this Blog just for educational purposes only.  Please make sure that you run it in your test environment before to move on to production environment. 


SELECT name,value/1024/1024/1024 "SGA (GB)" FROM v$sga;
SELECT sum(value)/1024/1024/1024 "TOTAL SGA (GB)" FROM v$sga;

NOTE: create pfile from spfile before do the chanege.

alter system set sga_target=72G scope=spfile sid='*';

---
SQL> alter system set sga_max_size=32G scope=spfile;

System altered.

!!! PGA_AGGREGATE_TARGET should be lower than PGA_AGGREGATE_LIMIT.

NOTE: Soll den wert kleiner sein als SGA und grosser als pga_aggregate_target

System altered.

NOTE: Soll den wert kleiner sein als pga_aggregate_limit

System altered.

----


#usefull link with nice example.



No comments:

Post a Comment

SGA resize

How to resize SGA PURPOSE:   All documents are provided on this Blog just for educational purposes only.  Please make sure that you run it i...