To increase memory in oracle database, we must first understand four oracle memory parameters which govern the instance.
They are as Follows :
show parameter sga_target; alter system set sga_target = 10G;
show parameter sga_max_size; alter system set sga_max_size = 12G scope=spfile;
show parameter memory_target; alter system set memory_target = 5G;
show parameter memory_max_target; alter system set memory_max_target = 7G scope=spfile;
select decode( grouping(nm), 1, 'total', nm ) nm, round(sum(val/1024/1024)) mbfrom(select 'sga' nm, sum(value) valfrom v$sgaunion allselect 'pga', sum(a.value)from v$sesstat a, v$statname bwhere b.name = 'session pga memory'and a.statistic# = b.statistic#)group by rollup(nm);
SELECT * FROM v$sgainfo;