n***@infosys.com
2007-07-16 06:38:55 UTC
Hi,
We are facing an issue in Performance testing using e-Load of a J2EE application.The application connects to DB2 database on windows.
Following is the exception that we get while testing the application under load.
com.ibm.db2.jcc.b.SqlException: Sort memory cannot be allocated to process the statement. Reason code = "1".
at com.ibm.db2.jcc.b.kf.b(kf.java(Compiled Code))
at com.ibm.db2.jcc.b.kf.a(kf.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.jb.e(jb.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.jb.n(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.jb.j(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.jb.c(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.w.c(w.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.cc.h(cc.java(Compiled Code))
at com.ibm.db2.jcc.b.sf.p(sf.java(Inlined Compiled Code))
at com.ibm.db2.jcc.b.tf.d(tf.java(Compiled Code))
at com.ibm.db2.jcc.b.tf.X(tf.java(Compiled Code))
at com.ibm.db2.jcc.b.tf.executeQuery(tf.java(Compiled Code))
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java(Compiled Code))
at com.royalbank.wcm.common.BaseDAO.execute(Unknown Source)
at com.royalbank.wcm.common.BaseDAO.select(Unknown Source)
??.
??
We have tried to optimize all queries to best possible extent. Also we have removed all order by clauses from queries to reduce sorts.
Even then we have not been able to resolve the issue.
Apparently, we are not sure if we need to change the DB2 parameters to get around this issue. Please let us know if anyone of you would be able to help us to come up with optimal values for DB2 parameters in this case.
Following are the Database details
============================================================
About DB2 Administration Tools Environment
============================================================
DB2 administration tools level:
Product identifier SQL08015
Level identifier 02060106
Level DB2 v8.1.5.449
Build level s040212
PTF WR21334
============================================================
Java development kit (JDK):
Level IBM Corporation 1.3.1
============================================================
PFA the present configuration for this database.
Any help would be greatly appreciated.
Regards,
***@infosys.com
We are facing an issue in Performance testing using e-Load of a J2EE application.The application connects to DB2 database on windows.
Following is the exception that we get while testing the application under load.
com.ibm.db2.jcc.b.SqlException: Sort memory cannot be allocated to process the statement. Reason code = "1".
at com.ibm.db2.jcc.b.kf.b(kf.java(Compiled Code))
at com.ibm.db2.jcc.b.kf.a(kf.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.jb.e(jb.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.jb.n(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.jb.j(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.jb.c(jb.java(Compiled Code))
at com.ibm.db2.jcc.c.w.c(w.java(Inlined Compiled Code))
at com.ibm.db2.jcc.c.cc.h(cc.java(Compiled Code))
at com.ibm.db2.jcc.b.sf.p(sf.java(Inlined Compiled Code))
at com.ibm.db2.jcc.b.tf.d(tf.java(Compiled Code))
at com.ibm.db2.jcc.b.tf.X(tf.java(Compiled Code))
at com.ibm.db2.jcc.b.tf.executeQuery(tf.java(Compiled Code))
at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java(Compiled Code))
at com.royalbank.wcm.common.BaseDAO.execute(Unknown Source)
at com.royalbank.wcm.common.BaseDAO.select(Unknown Source)
??.
??
We have tried to optimize all queries to best possible extent. Also we have removed all order by clauses from queries to reduce sorts.
Even then we have not been able to resolve the issue.
Apparently, we are not sure if we need to change the DB2 parameters to get around this issue. Please let us know if anyone of you would be able to help us to come up with optimal values for DB2 parameters in this case.
Following are the Database details
============================================================
About DB2 Administration Tools Environment
============================================================
DB2 administration tools level:
Product identifier SQL08015
Level identifier 02060106
Level DB2 v8.1.5.449
Build level s040212
PTF WR21334
============================================================
Java development kit (JDK):
Level IBM Corporation 1.3.1
============================================================
PFA the present configuration for this database.
Any help would be greatly appreciated.
Regards,
***@infosys.com