DB2 - Problem description
Problem IT17794 | Status: Closed |
QUERY ABNORMALLY ENDS IN SQL0901N "EMPTY PLAN LIST DETECTED!" | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
It is possible that a query might fail with SQL0901N further reporting "Empty plan list detected!" in db2diag.log as follows: 2016-10-11-12.44.34.049762+120 E58730A2753 LEVEL: Info (Origin) PID : 26477294 TID : 5656 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 DB : MYDB APPHDL : 0-286 APPID: LOCAL.DB2.00BE85034416 AUTHID : DB2INST1 HOSTNAME: myhost EDUID : 5656 EDUNAME: db2agent (MYDB) 0 FUNCTION: DB2 UDB, SW- common services, sqlnn_cmpl, probe:650 MESSAGE : ZRC=0x803100AF=-2144272209=SQLNN_E_BADNEWS "unexpected error but state is OK" DATA #1 : String, 62 bytes An unexpected error was detected during statement compilation. DATA #2 : Boolean, 1 bytes true DATA #3 : Boolean, 1 bytes false DATA #4 : Boolean, 1 bytes true DATA #5 : Boolean, 1 bytes false DATA #6 : Hex integer, 4 bytes 0x00000000 DATA #7 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes sqlcaid : SQLCA sqlcabc: 136 sqlcode: -901 sqlerrml: 25 sqlerrmc: Empty plan list detected! sqlerrp : SQLNO272 sqlerrd : (1) 0x801A006D (2) 0x00000000 (3) 0x00000000 (4) 0x00000000 (5) 0xFFFFFF9C (6) 0x00000000 sqlwarn : (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) sqlstate: DATA #8 : Hex integer, 4 bytes 0x00000040 DATA #9 : String with size, 1000 bytes <the SQL statement appears here> DATA #10: String, 394 bytes Compiler error stack for rc = -2144272209: sqlnn_cmpl[380] sqlno_exe[900] sqlno_planning_phase[200] sqlno_planning_scan[400] sqlno_scan_utils_qgm[200] sqlno_each_qur[400] sqlno_top_qtb[100] sqlno_each_opr[200] sqlno_walk_qun[100] sqlno_each_opr[200] sqlno_walk_qun[100] sqlno_each_opr[1200] sqlno_plan_end_opr[500] sqlno_crule_union[400] sqlno_crule_save_plans[100] sqlno_crule_save_plans[100] | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to version 10.5 fix pack 9 * **************************************************************** | |
Local Fix: | |
Solution | |
First fixed in version 10.5 fix pack 9 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.11.2016 27.09.2017 27.09.2017 |
Problem solved at the following versions (IBM BugInfos) | |
9.0. | |
Problem solved according to the fixlist(s) of the following version(s) |