oracle 11g road(/dev/shm需注意)
2013-05-28 15:46
543 查看
在oracle linux上安装oracle 11g的过程中对于os的共享内存(/dev/shm)还是有一定的要求的,其大小不能小于你分配给oracle使用的内存的大小:
Starting with Oracle Database 11g, the Automatic Memory Management feature
requires more shared memory (/dev/shm)and file descriptors. The size of the shared
memory should be at least the greater of MEMORY_MAX_TARGET and MEMORY_TARGET
for each Oracle instance on the computer. If MEMORY_MAX_TARGET or MEMORY_
TARGET is set to a non zero value, and an incorrect size is assigned to the shared
memory, it will result in an ORA-00845 error at startup. The number of file descriptors
for each Oracle instance should be at least 512*PROCESSES. Also, the limit of
descriptors for each process should be at least 512. If file descriptors are not sized
correctly, you will notice ORA-27123 from various Oracle processes and potentially
Linux Error EMFILE (Too many open files) errors in non-Oracle processes.
于是我悲剧了,发现我初始安装Oracle Linux的时候给的/dev/shm太小了(其实我都忘记自己在哪里设置了这个参数了..),好吧,只能修改了。
vi /etc/fstab,在其中添加size=4096M,然后mount -o remount /dev/shm就可以了,如下:
tmpfs /dev/shm tmpfs defaults,size=4096M 0 0
[root@gongwenServer srvadmin]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 95G 5.4G 85G 6% /
/dev/sda4 294G 195M 278G 1% /opt
/dev/sda1 190M 12M 169M 7% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
好了,ok,rush the way to oracle 11g
http://blog.sina.com.cn/s/blog_5fbb16590100hx1z.html
Starting with Oracle Database 11g, the Automatic Memory Management feature
requires more shared memory (/dev/shm)and file descriptors. The size of the shared
memory should be at least the greater of MEMORY_MAX_TARGET and MEMORY_TARGET
for each Oracle instance on the computer. If MEMORY_MAX_TARGET or MEMORY_
TARGET is set to a non zero value, and an incorrect size is assigned to the shared
memory, it will result in an ORA-00845 error at startup. The number of file descriptors
for each Oracle instance should be at least 512*PROCESSES. Also, the limit of
descriptors for each process should be at least 512. If file descriptors are not sized
correctly, you will notice ORA-27123 from various Oracle processes and potentially
Linux Error EMFILE (Too many open files) errors in non-Oracle processes.
于是我悲剧了,发现我初始安装Oracle Linux的时候给的/dev/shm太小了(其实我都忘记自己在哪里设置了这个参数了..),好吧,只能修改了。
vi /etc/fstab,在其中添加size=4096M,然后mount -o remount /dev/shm就可以了,如下:
tmpfs /dev/shm tmpfs defaults,size=4096M 0 0
[root@gongwenServer srvadmin]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 95G 5.4G 85G 6% /
/dev/sda4 294G 195M 278G 1% /opt
/dev/sda1 190M 12M 169M 7% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
好了,ok,rush the way to oracle 11g
http://blog.sina.com.cn/s/blog_5fbb16590100hx1z.html
相关文章推荐
- 新特性:/dev/shm对Oracle 11g的影响
- Oracle 11g AMM: MEMORY_TARGET, MEMORY_MAX_TARGET and /dev/shm
- 新特性:/dev/shm对oracle 11g的影响
- 新特性:/dev/shm对Oracle 11g的影响!
- Oracle expdp从11g导出到10g注意点
- oracle 11G 以前版本中针对大表增加有默认值的字段时的注意点
- Oracle 9i/10g/11g 数据库 升级路线图(upgrade roadmap)
- 【翻译自mos文章】/dev/shm应该设置多大Oracle 实例启动时才能不报ORA-00845
- 部署oracle 11g注意事项。
- Oracle 9i/10g/11g 数据库 升级路线图(upgrade roadmap)
- Oracle 11g RAC安装注意事项杂记
- 关于oracle 11g ASM使用时要注意的点
- Oracle 9i/10g/11g 数据库 升级路线图(upgrade roadmap)
- 打开Oracle 11g管理界面OracleDbConsoleorcl---注意事项
- Oracle 9i/10g/11g数据库升级路线图(upgrade roadmap)
- ORACLE 11g修改计算机名后注意事项
- oracle 11g memory_target大小受到 /dev/shm可以空间的限制
- oracle对/dev/shm的使用
- oracle 11g rac 在linux 6.3上安装的注意事项
- 初识/dev/shm & oracle(转)