Troubleshooting
Problem
Turning statement concentrator ON results in sub-optimal plan generation for Text Search queries.If the performance of queries with statement concentrator enabled is unacceptable, then statement concentrator should be disabled either at global leval or at statement/session level.
Resolving The Problem
You can turn statement concentrator on and off globally with the STMT_CONC database configuration parameter.
For CLI/ODBC, you can set the SQL_ATTR_STMT_CONCENTRATOR connection or statement attribute.
For .NET applications, you can use DB2ConnectionStringBuilder.StatementConcentrator and DB2Command.StatementConcentrator.
For SQLJ and JDBC, the statementConcentrator property can be set in com.ibm.db2.jcc.DB2BaseDataSource.
For embedded SQL and SQL/PL or PSM, there is no statement level control.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21607350