DB2 - Problem description
Problem IT34860 | Status: Closed |
DB2 QUERY MAY HANG WITH REGISTRY SETTING DB2_EXTENDED_OPTIMIZATION="INJ_DUMMY_PRD4JOIN" | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
Db2 query may hang when the following conditions are met: -The query has inner join with OR predicate -At least one of the OR predicate references only one join/subgraph. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Local Fix: | |
Local Fix: Turn the registry off: db2set -im DB2_EXTENDED_OPTIMIZATION="INJ_DUMMY_PRD4JOIN OFF" or apply the above using optimizer guidelines as /* */ ; | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 10.11.2020 06.04.2021 06.04.2021 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |