请教:关于MAX_CONNECTIONS一个疑问??
测试如下$ db2 get dbm cfg |grep MAX
Max number of existing agents (MAXAGENTS) = 3
Max number of coordinating agents (MAX_COORDAGENTS) = 3
Max number of client connections (MAX_CONNECTIONS) = 3
在多个窗口用db2inst1用户登陆
$ db2 connect to demo01 user db2inst1 using db2inst1
$ db2 list applications
Auth IdApplication Appl. Application Id DB # of
Name Handle Name Agents
-------- -------------- ---------- -------------------------------------------------------------- -------- -----
DB2INST1 db2bp 13 *LOCAL.db2inst1.100423025327 DEMO01 1
DB2INST1 db2bp 12 *LOCAL.db2inst1.100423025325 DEMO01 1
DB2INST1 db2bp 11 *LOCAL.db2inst1.100423025324 DEMO01 1
DB2INST1 db2taskd 9 *LOCAL.DB2.100423025321 DEMO01 1
DB2INST1 db2stmm 8 *LOCAL.DB2.100423025320 DEMO01 1
DB2INST1 db2bp 7 *LOCAL.db2inst1.100423025319 DEMO01 1
从上面看出已经超过限制Max number of client connections (MAX_CONNECTIONS) = 3
此时再开窗口登陆$ db2 connect to demo01 user db2inst1 using db2inst1还是成功登陆的
请教大家:为什么这里MAX_CONNECTIONS对db2inst1用户好像没有效果呢??
页:
[1]