DB2 - Problem description
Problem IC82361 | Status: Closed |
INCORRECT VALUE IN EXPLAIN_PREDICATE.SUBQUERY WHEN EXPLAINING FROM A SECTION | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When capturing section explain information, the value of column SUBQUERY of the explain table EXPLAIN_PREDICATE may incorrectly be 'N' for some predicates. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All DB2 Linux, Unix, Windows users of Section Explain * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade the DB2 Linux, Unix and Windows server to Version * * 9.7 Fix Pack 7. * **************************************************************** | |
Local Fix: | |
A workaround is to select the following expression instead of selecting the SUBQUERY column directly. SELECT CASE LENGTH(TRIM(WHEN_EVALUATED)) WHEN 0 THEN 'N' ELSE 'Y' END AS SUBQUERY FROM EXPLAIN_PREDICATE | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
Upgrade the DB2 Linux, Unix and Windows server to Version 9.7 Fix Pack 7 in order for subquery predicates to be flagged properly for explain from section. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC88352 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.03.2012 20.10.2012 20.10.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7., 9.7.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.7 |