客户端并发操作, DB2 CLI服务端报SQL0954C SQLSTATE=57011
服务端数据库接口,长连接数据库,客户端并发操作(查询)超过60多个并发就会报如下错误in UnionCheckError:: --- db2 error report begin ---
20110402105607::[-10009]
SQLSTATE: 57011
20110402105607::[-10009]
NATIVE: -954
20110402105607::[-10009]
MESSAGE: SQL0954CNot enough storage is available in the application heap to process the statement.SQLSTATE=57011
20110402105607::[-10009]
in UnionCheckError:: --- db2 error report End ---
执行db2 get db cfg for cmbkmcdb | grep APPLHEAPSZ
Default application heap (4KB) (APPLHEAPSZ) = 256
APPLHEAPSZ为256,
db2 update db cfg for CMBKMCDB using APPLHEAPSZ 4096
改成4096后仍同样错误。
之前的接口使用DB2 ESQL写的,由于要bind,客户觉得麻烦让我们改成CLI的,服务端结构应该没什么问题,原来ESQL的接口我们测时服务端能承受几千并发也不会报SQL0954C SQLSTATE=57011
比较着急,在线等。。。
谢谢
页:
[1]