DB2 - Problem description
Problem IT30946 | Status: Closed |
DB2 MAY ABEND WHILE USING PARTICULAR EXPLAIN MODES | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
Db2 may terminate abnormally while using the following explain modes: -RECOMMEND INDEXES -EVALUATE INDEXES -RECOMMEND PARTITIONINGS -EVALUATE PARTITIONINGS An example stack trace seen in this scenario looks similar to the following: ------FUNCTION------ _Z19sqldLockTableFixTCBP8sqeAgenttthmiiimmiPciS1_iP14SQLP_LOCK_I NFOPP8SQLD_TCBjj _Z12sqldScanOpenP8sqeAgentP14SQLD_SCANINFO1P14SQLD_SCANINFO2PPv _Z24sqlno_advise_get_indexesP16sqlnx_exp_fidtidjPiPPv _Z29sqlno_advise_fill_index_cacheP13sqlno_globals _Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq lrr_cmpl_enviiPP9sqlnq_qur _Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq lrr_cmpl_env _Z17sqlra_compile_varP8sqlrr_cbP14sqlra_cmpl_envPhitiiiiiP14SQLP _LOCK_INFOP16sqlra_cached_varPiS5_Pb _Z14sqlra_find_varP8sqlrr_cbP17sqlra_cached_stmt13sqlra_stmt_idj jPhjthP14sqlra_cmpl_env15sqlra_fill_modePiiS8_iiiS8_P14SQLP_LOCK _INFOPP16sqlra_cached_varS8_bSA_Pb _Z13sqlra_get_varP8sqlrr_cbiibPbS1_ _Z13sqlrr_prepareP14db2UCinterfaceP16db2UCprepareInfo _Z19sqljs_ddm_prpsqlsttP14db2UCinterfaceP13sqljDDMObject _Z21sqljsParseRdbAccessedP13sqljsDrdaAsCbP13sqljDDMObjectP14db2U Cinterface _Z10sqljsParseP13sqljsDrdaAsCbP14db2UCinterfaceP8sqeAgentb _Z17sqljsDrdaAsDriverP18SQLCC_INITSTRUCT_T _ZN8sqeAgent6RunEDUEv _ZN9sqzEDUObj9EDUDriverEv sqloEDUEntry clone | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.5 m3 fp0 or later * **************************************************************** | |
Local Fix: | |
The problem can be avoided by querying the ADVISE_INDEX explain table before enabling the following explain modes: -RECOMMEND INDEXES -EVALUATE INDEXES And by querying the ADVISE_PARTITIONINGS explain table before enabling the following explain modes: -RECOMMEND PARTITIONINGS -EVALUATE PARTITIONINGS Note: Querying the explain tables above only needs to be done once while the database manager is up. | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : IT30943 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.11.2019 24.04.2020 24.04.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |