DB2 - Problem description
Problem IC79309 | Status: Closed |
POSSIBLE TRAP DURING QUERY COMPILATION IN A DATABASE THAT USES UCA-BASED COLLATION | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
This problem can occur in a database using UCA-based collation during query compilation of an SQL statement that contains one or more equality join predicates that reference columns of type CHAR, VARCHAR, GRAPHIC, VARGRAPHIC and one or both of the columns in the join predicate have distribution statistics collected. The problem does not occur if the character type is FOR BIT DATA. You can identify that you hit this problem if the following function list is found in the trap file stack trace: sqlnlsICUstrcollUTF16BE sqlv_g_varUCA_comp sqlrxcp2 sqlno_compare_literal sqlno_nud_compare_literal sqlno_ff_updateEffHighLowKeys sqlno_ff_col_eq_col sqlno_ff_compute_atomprd This problem was first introduced in the following DB2 releases: Version 9.5 Fix Pack 8 Version 9.7 Fix Pack 4 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users with databases that use UCA-based collation * **************************************************************** * PROBLEM DESCRIPTION: * * Trap can occur in a database using UCA-based collation, * * during query compilation of an SQL statement that contains * * one or more equality join predicates that reference columns * * of type CHAR, VARCHAR, GRAPHIC, VARGRAPHIC and one or both * * of the columns in the join predicate have distribution * * statistics collected. * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.5 Fix Pack 9 * **************************************************************** | |
Local Fix: | |
You can avoid the problem by not collecting distribution statistics on the join predicate columns. | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 9.5 Fix Pack 9 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.10.2011 18.07.2012 18.07.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP9 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.5.0.9 |