DB2 - Problem description
Problem IC84407 | Status: Closed |
DB2 MIGHT ABEND WHEN EXECUTING A EXISTENTIAL SUBQUERY INSIDE AN AGGREGATION FUNCTION. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
Db2 might abend under the following scenario: 1. The query has a group by 2. The aggregate function in the select list has a reference to an existential subquery. Possible Return Code: SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "Bad Plan; Unresolved QNC found".) SQLSTATE=58004 SQL1224N The database manager is not able to accept new requests, has terminated all requests in progress, or has terminated the specified request because of an error or a forced interrupt. SQLSTATE=55032 Possible Stack: Stack #1 0 ossDumpStackTraceEx 1 OSSTrapFile::dumpEx 2 sqlo_trce 3 sqloEDUCodeTrapHandler 4 __invoke_dynamic_linker__ 5 sqlnq_qunqncchild::pp 6 sqlno_outer_reference 7 sqlnx_exp_process_correlated_col_info 8 sqlnx_exp_FETCH_analyze 9 sqlnx_exp_analyze_plan 10 sqlnx_exp_analyze_plan 11 sqlnx_exp_analyze_plan 12 sqlnx_exp_analyze_plan 13 sqlnx_exp_analyze_plan 14 sqlnx_exp_analyze_plan 15 sqlnx_exp_UNION_post 16 sqlnx_exp_analyze_plan 17 sqlnx_exp_analyze_plan 18 sqlnx_exp_analyze_plan 19 sqlnx_exp_analyze_plan 20 sqlnx_exp_analyze_plan 21 sqlnx_exp_analyze_plan 22 sqlnx_exp_analyze_plan 23 sqlnx_exp_analyze_plan 24 sqlnx_explain_plan 25 sqlnn_cmpl 26 sqlnn_cmpl 27 sqlra_compile_var 28 sqlra_find_var 29 sqlra_get_var 30 sqlrr_prepare 31 sqljs_ddm_prpsqlstt 32 sqljsParseRdbAccessed 33 sqljsParse 34 sqljsSqlam 35 sqljsDriveRequests 36 sqljsDrdaAsInnerDriver 37 sqljsDrdaAsDriver 38 sqeAgent::RunEDU 39 sqzEDUObj::EDUDriver 40 sqlzRunEDU 41 sqloEDUEntry 42 pthread_cond_wait@@GLIBC_2.3.2 43 clone | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All Platforms * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to v10.1 Fixpack 1 or Higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in v10.1 Fixpack 1 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.06.2012 13.11.2012 13.11.2012 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.1 | |
10.5.0.1 |