查看当前连接数,sample为数据库名
db2 list applications for db sample
db2 list applications for db sample show detail
连接数据库
db2 connect to dbname user username using passwd
设置最大连接数
db2 update db cfg using MAXAPPLS number
db2 get db cfg for sample
sample 为数据库名
db2 get dbm cfg
MAX_CONNECTIONS=AUTOMATIC(MAX_COORDAGENTS)
MAX_COORDAGENTS=AUTOMATIC(200)
DB2导入license:
db2licm.exe -a D:\db2ese_c.lic