DB2 - Problem description
Problem IT30557 | Status: Closed |
DB2 MAY ABEND WHILE COMPILING COMPOUND SQL (COMPILED) STATEMENTS | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Db2 may terminate abnormally while compiling compound SQL (compiled) statements. This includes anonymous blocks and SQL routines. An example stack trace seen in this scenario looks similar to the following: ------FUNCTION------ ossDumpStackTraceInternal ossDumpStackTraceV98 OSSTrapFile::dumpEx sqlo_trce sqloEDUCodeTrapHandler psm_SQL_EXPRESSION_node::~psm_SQL_EXPRESSION_node psmProgram::deleteParseTree psm_ctrl::psm_cleanup sqlnq_psm_sem_act sqlnp_smactn sqlnp_parser sqlnp_main sqlnn_cmpl sqlnn_cmpl sqlra_compile_var sqlra_find_var sqlra_get_var sqlrr_prepare sqljs_ddm_prpsqlstt sqljsParseRdbAccessed sqljsParse sqljsSqlam sqljsDriveRequests sqljsDrdaAsInnerDriver sqljsDrdaAsDriver sqeAgent::RunEDU sqzEDUObj::EDUDriver sqloEDUEntry pthread_timedjoin_np clone | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * n/a * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 v11.1 or v11.5 with the latest fixpack level. * **************************************************************** | |
Local Fix: | |
The problem may be avoided increasing the statement heap size limit (via database configuration parameter STMTHEAP) or altering statement heap to be AUTOMATIC (the default). | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * n/a * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 v11.1 or v11.5 with the latest fixpack level. * **************************************************************** | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 09.10.2019 12.03.2020 12.03.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |