Oracle在AIX上不停占用系统的内存BUG
BUG 3028673--ORACLE ON AIX DOES NOT SHARE MANY CONST STRUCTS - PER PROCESS MEMORY OVERHEAD 即:Oracle on IBM AIX platfor
BUG 3028673--Oracle ON AIX DOES NOT SHARE MANY CONST STRUCTS - PER PROCESS MEMORY OVERHEAD
即:Oracle on IBM AIX platforms (AIX 5L and 4.3.3) use a large amount of memory per dedicated connection. For Oracle 9.2 on AIX 5L the memory required per idle Oracle process appears to be about 5Mb. A significant portion of this is related to non-shared const structures (probably about 1Mb) .造成这个问题是因为AIX上C的编译器问题,,使得本来可以共享的部分,最后都没有共享,造成每个连接进程都浪费了大约1MB的内存。
如果担心是由于使用C编译器而带来的ORACLE 进程占用了过多的内存,则可以通过以下方法来修正这个问题。ORACLE软件本身没有补丁,但是可以通过修改系统环境变量和给系统打补丁来修正。
如果操作系统是AIX 5.2一下版本的,只要一个办法去修改环境变量.
如果操作系统是AIX 5.2以上(含5.2),则最好打系统补丁IY49415,并RELINK ORACLE产品.
安装AIX APAR IY49415补丁.
重新链接数据库产品步骤如下:
?aru=5336110,在这个位置下载脚本
1) save your current version of $ORACLE_HOME/oracle
2) create a working directory $ORACLE_HOME/relink
3) cd to $ORACLE_HOME/relink
4) unzip the relinking package
5) link $ORACLE_HOME/bin/oracle to ./oracle0
6) run the script ./genscript to generate some required files and scripts
7) run ./relink.sh to generate the new oracle binary oracle0.new.$$
8) copy oracle0.new.$$ to $ORACLE_HOME/bin/oracle and verify that the permissions match the original oracle binary.