Best Of The Best Tips About How To Increase Sga In Oracle 10g
Alter the size of sga as required.
How to increase sga in oracle 10g. The value of the sga_max_size parameter defaults to the aggregate setting of all the sga components. Sql> startup to verify that the change was made: Alter system set sga_target=12g scope=spfile sid = ' orcl2 ';
In 10g, you can increase sga_max_size and adjust sga_target (you can set this equal to sga max size) and bounce the database to effectuate new sga. Sql> alter system set sga_max_size=2000m scope=spfile; 11520 mb is just an example.
You can expand the total sga size to a value equal to the sga_max_size parameter. Sql>alter system set sga_target=12g scope=spfile sid=’*’; This is a binary file.
Check the memory of your operating system before increasing the sga size. Assuming this is a linux box, make sure /dev/shm has more than 11520 mb* available space. Select decode( grouping(nm), 1, 'total', nm ) nm, round(sum(val/1024/1024)) mb from ( select 'sga' nm, sum(value) val from v$sga union all select 'pga', sum(a.value) from v$sesstat a,.
Or in another way : It uses the spfilesid.ora in the $oracle_home/dbs directory. Tio change the parameter(s) you should use:
Alter system set sga_max_size = xxxm scope =. The value of the sga_max_size parameter defaults to the aggregate setting of all the sga components. Tio change the parameter(s) you should use: