DB2 连接数

查看连接数:db2 list application / db2 get snapshot for application / db2pd -applications -db <dbname>
 
查看连接详情:db2 list application show detail
 
关闭连接:db2 force application(id)
 
关闭所有连接:db2 force application all
 
查看连接数配置:db2 get db cfg for 数据库名|grep app
 
修改连接数配置:db2 update db cfg for 数据库名 using 参数名字 参数值
 
推荐值:
MAXAPPLS = 500
APPLHEAPSZ=1024
 
LOCKLIST = 512 * 128 * maxappls / 4096
 
maxlocks = 2 * 100 / maxappls 

Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error