aix环境下db2数据库使用虚拟内存过高问题
在AIX环境下,如果没有设置计算内存和非计算内存的分配比率,会导致操作系统将所有空闲物理内存用作文件系统缓存,从而导致DB2数据库在需要分配内存时只能使用虚拟内存,因而发生虚拟内存使用过高,影响系统运行稳定性。
该问题在MIS数据库中发生过,虚拟内存最高使用到30%,之前发生的MIS数据库连接中断问题怀疑与此有关。按照ibm官方建议需要运行以下命令:
The "Best Practice" recommendation for DB2/AIX systems is :
maxperm%=90
maxclient%=90
minperm%=3
lru_file_repage=0
These settings are implemented with the following command, which is dynamic and takes effect immediately :
vmo -p -o maxperm%=90 -o maxclient%=90 -o minperm%=3 -o lru_file_repage=0
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞5
添加新评论2 条评论
2019-03-26 20:36
2019-03-19 09:43