32bit os 突破oracle sga内存1.7G限制方法

 
32bit os 突破oracle sga内存1.7G限制方法
 

Configuration

Please follow steps below:

1. Modify shmmax to be the maximum value for a 32-bit system (no matter what the physical RAM size beyond 4Gb). The maximum value is  is 2^32-1 = 4294967295

 

# echo 4294967295 > /proc/sys/kernel/shmmax

 

As the above will not be persistent through the reboots, so add the following to /etc/sysctl.conf

kernel.shmmax=4294967295

2. Relocate the SGA. To do this please run the following as the Oracle RDBMS owner account.

$ cd $ORACLE_HOME/rdbms/lib
$ cp ksms.s ksms.s_orig
$ genksms -s 0Xe000000 > ksms.s
$ make -f ins_rdbms.mk ksms.o
$ make -f ins_rdbms.mk ioracle
$
An sgabeg value of 0x15000000 will result in a maximum SGA of approximately 2592Mb. The sgabeg  value of 0Xe000000 that is prescribed above will result in a maximum SGA of approximately 2800Mb  

3. drop the oracle process stacklimit from 10MB to 4MB before startup as follows:  
$ ulimit -s 4096 
4. Set instance initialization (init.ora or spfile.ora) parameters:  

*.db_cache_size=2400m  
*.shared_pool_size=200m  
*.java_pool_size=83886080  
*.large_pool_size=8388608  

This will lead to a Total System Global Area of 2937135428 bytes, or 2.735Gb
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值