DB2 - Problem description
Problem IT15587 | Status: Closed |
LONG COMPILATION TIME (OR HANG) FOR QUERIES WITH NESTED COMMON TABLE EXPRESSIONS | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Query with nested references to multiple Common Table Expressions may take a long time to compile or appear to hang. Example: WITH V1 AS (...), V2 AS (...FROM V1...), V3 AS (...FROM V1, V2...), V4 AS ((...FROM V2, V3...), etc. <StackTrace> -------Frame------ ------Function + Offset------ 0x09000000770B68B4 sqlnq_push_down_unambgname__FP9sqlnq_quniP3loc + 0x384 0x09000000770B68E8 sqlnq_push_down_unambgname__FP9sqlnq_quniP3loc + 0x3B8 ... 0x09000000770B68E8 sqlnq_push_down_unambgname__FP9sqlnq_quniP3loc + 0x3B8 0x09000000770B55D8 sqlnq_postParse__FP9sqlnq_qurP3loc + 0x318 0x09000000776D11E4 sqlnn_cmpl__FP8sqeAgentP11sqlrrstrings17sqlnn_compileModeT3P14sq lrr_cmpl_enviT7PP9sqlnq_qur + 0x5C0 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 10.5 Fix Pack 9 or higher * **************************************************************** | |
Local Fix: | |
Solution | |
First fixed in Db2 10.5 Fix Pack 9 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 04.06.2016 29.09.2017 29.09.2017 |
Problem solved at the following versions (IBM BugInfos) | |
9.0. | |
Problem solved according to the fixlist(s) of the following version(s) |