DB2 - Problem description
Problem IT22646 | Status: Closed |
-901 OR TRAP WHEN OUTER JOIN ON GROUP BY AND UNION | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
Description: Db2 query may abend or generate 901 when the folloiwng conditions are met: 1) It has Left/Right Outer Join 2) There is a GROUP BY on the null producing side of Outer Join 3) There is a UNION ALL on the other side of Outer Join 4) The size of null producing side is larger than row preserving side | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 11.1 Modification 3 FixPack 3 or * * later * **************************************************************** | |
Local Fix: | |
Set registry setting DB2COMPOPT with NO_DEEPKEYPU or NO_GBPU as: db2set -im DB2COMPOPT=NO_DEEPKEYPU or db2set -im DB2COMPOPT=NO_GBPU or use one of them with optguidelines: <query> /* <OPTGUIDELINES> <REGISTRY> <OPTION NAME='DB2COMPOPT' VALUE='NO_DEEPKEYPU'/> </REGISTRY> </OPTGUIDELINES> */ or <query> /* <OPTGUIDELINES> <REGISTRY> <OPTION NAME='DB2COMPOPT' VALUE='NO_GBPU'/> </REGISTRY> </OPTGUIDELINES> */ | |
available fix packs: | |
Db2 Version 11.1 Mod 3 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
Fixed in DB2 Version 11.1 Modification 3 FixPack 3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.10.2017 15.03.2018 15.03.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |