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.
SQL> show sga
SQL> show parameter pool
SQL> select * from v$sgainfo;
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