How to Increase MEMORY_TARGET
To increase memory in oracle database, we must first understand four oracle memory parameters which govern the instance.
oracle configurationintermediate
by OracleDba
13 views
To increase memory in oracle database, we must first understand four oracle memory parameters which govern the instance.
1234567
show parameter sga_target;
alter system set sga_target = 10G;
show parameter sga_max_size;
alter system set sga_max_size = 12G scope=spfile;1234567891011
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;Please to add comments
No comments yet. Be the first to comment!