修改用户最大进程数:
chdev -l sys0 -a maxuproc=‘8192‘
用户资源配置:
对实例用户,fence用户,应用用户添加如下限制:
db2inst1 : fsize=-1 fsize_hard=-1 data=-1 data_hard=-1 stack=-1 stack_hard=-1 rss=-1 rss_hard=-1 nofiles=-1 nofiles_hard=-1
以上内存添加到/etc/security/limtis
db2注册变量设置:
db2set DB2_LAOD_COPY_NO_OVERRIDE=nonrecoverable db2set DB2_USE_FAST_PREALLOCATION=ON db2set DB2_MEM_TUNING_RANGE=40,90
DB参数:
db2 update db cfg for <dbname> using logbufsiz 1024 (至少4M) db2 update db cfg for <dbname> using REC_HIS_RETENTN 90 (至少4M)
时间: 2024-11-02 19:59:26