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 IC98829 Status: Closed

A QUERY MAY HANG WHEN IT CONTAINS CONNECT BY AND LEFT OUTER JOIN

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
A query may exhibit hanging symptom during its compilation when 
all the following conditions are met: 
1. Query has outer join construct. 
2. One stream input to the outer join is a subquery having 
CONNECT BY clause. 
3. The same subquery that contains CONNECT BY also has 
correlation predicate, i.e. a predicate referencing column from 
outer query block. 
 
To verify if the query hits this problem, use db2pd -dump and 
search the following call stack in the dump file: 
 
correlation_fromqun 
sqlnr_OJprd_pushdown 
sqlnr_optprep
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* A QUERY MAY HANG WHEN IT CONTAINS CONNECT BY AND LEFT OUTER  * 
* JOIN                                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* First fixed in fix pack 4 of DB2 v10.5                       * 
****************************************************************
Local Fix:
N/A
available fix packs:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
First fixed in fix pack 4 of DB2 v10.5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.01.2014
03.09.2014
03.09.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.4 FixList