suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT36903 Status: Closed

-901 ERROR WITH REASON "NO PLAN FOUND"

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem description:
-No plan found -901 error may happen while processing a query
with risky plan. The relevant db2diag.log info can be found
below.


119663 DATA #7 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
119664 sqlcaid : SQLCA    sqlcabc: 136  sqlcode: -901  sqlerrml:
14
119665 sqlerrmc: No plan found.
119666 sqlerrp : SQLNO096
119667 sqlerrd : (1) 0x801A006D     (2) 0x00000000     (3)
0x00000000
119668           (4) 0x00000000     (5) 0xFFFFFF60     (6)
0x00000000
119669 sqlwarn : (1)     (2)     (3)     (4)       (5)      (6)
119670           (7)     (8)     (9)     (10)       (11)
119671 sqlstate:
119672 DATA #8 : Hex integer, 4 bytes
119673 0x00000040
119674 DATA #9 : String with size, 1000 bytes
119675 SELECT SUM(1) NUMREGS,
TO_CHAR(BOC_FACT_PPTOES.FECDATA,'DD/MM/YYYY'),
MAX(BOC_AREA_NEG.DSC_ANN1), MAX(BOC_AREA_NEG.D      SC_ANN2),
MAX(BOC_AREA_NEG.DSC_ANN3), MAX(BOC_AREA_NEG.DSC_ANN31),
MAX(BOC_AREA_NEG.DSC_ANN4), BOC_AREA_NEG.COD_ANN3       ,
BOC_AREA_NEG.COD_ANN31, BOC_AREA_NEG.COD_ANN4,
BOC_ENTIDAD.DSC_45 , BOC_CENTRO.COD_CENT, BOC_CENTRO.DESC_80,
BOC_      CONC_COSTES.DSC_CCN2,
DECODE(BOC_CONC_COSTES.COD_CCN3,'U003GP',SUBSTR(BOC_CONC_COSTES.
COD_CCN3,1,4), 'D005GP',SUBSTR
(BOC_CONC_COSTES.COD_CCN3,1,4),BOC_CONC_COSTES.COD_CCN5),
DECODE(BOC_CONC_COSTES.COD_CCN3,'U003GP',BOC_CONC_COSTES.D
SC_CCN3,'D005GP',BOC_CONC_COSTES.DSC_CCN3,BOC_CONC_COSTES.DSC_CC
N5), BOC_FUNCION.DSC_FN1, BOC_FUNCION.DSC_FN2, BOC_F
UNCION.COD_FN3, BOC_FUNCION.DSC_FN3, BOC_AREA_GEO_SS.COD_AGN41,
BOC_AREA_GEO_SS.DSC_AGN41, BOC_TIP_DATA.COD_DATA, MA
X(BOC_TIP_DATA.DSC_60), BOC_AREA_GEO_SS.COD_AGN5,
BOC_AREA_GEO_SS.DSC_AGN5, SUM(BOC_FACT_PPTOES.IAE),
SUM(BOC_FACT_P      PTOES.IAU) , SUM(BOC_FACT_PPTOES.IAL) FROM
BOC_FACT_PPTOES, BOC_JERARQU
119676 DATA #10: String, 435 bytes
119677 Compiler error stack for rc = -2144272209:
119678 sqlnn_cmpl[380]
119679 sqlno_exe[900]
119680 sqlno_planning_phase[200]
119681 sqlno_planning_scan[400]
119682 sqlno_scan_utils_qgm[200]
119683 sqlno_each_qur[400]
119684 sqlno_top_qtb[100]
119685 sqlno_each_opr[200]
119686 sqlno_walk_qun[100]
119687 sqlno_each_opr[200]
119688 sqlno_walk_qun[100]
119689 sqlno_each_opr[200]
119690 sqlno_walk_qun[100]
119691 sqlno_each_opr[1200]
119692 sqlno_plan_end_opr[100]
119693 sqlno_gen_partitions_for_Q[400]
119694 sqlno_crule_join[100]
119695 sqlno_itr_plan::next[160]
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* all                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to 11.5.7 or higher                                  *
****************************************************************
Local Fix:
db2set DB2_REDUCED_OPTIMIZATION=YES
 or
db2set DB2_EXTENDED_OPTIMIZATION=ALLOW_RISKY_PLAN
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* all                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to 11.5.7 or higher                                  *
****************************************************************
Comment
Upgrade to 11.5.7 or higher
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.05.2021
01.12.2021
01.12.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)