Fixes are available
DB2 Version 9.5 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows
APAR status
Closed as program error.
Error description
If your SQL statement contains an equality join predicate between two tables, such as the one in the WHERE clause in the following example . SELECT ... FROM T1, T2 ... WHERE ... T1.COLUMN1 = T2.COLUMN2 ... . and distribution statistics are collected, the optimizer could take advantage of the distribution statistics in combination with the high2key and low2key statistics during join cost computation. . If the number of distinct values in either COLUMN1 or COLUMN2 is less than 3, then the optimizer may underestimate the cost of the join. . The number of distinct values is described by the COLCARD column in the SYSSTAT.COLUMNS catalog view.
Local fix
1) Use an optimizer profile to force the desired access plan, OR 2) Update the LOW2KEY of the column with the smaller number of distinct values to the LOW2KEY of the column with the higher number of distinct values.
Problem summary
see APAR
Problem conclusion
Problem first fixed in DB2 UDB 9.5 FixPak 5.
Temporary fix
see APAR
Comments
APAR Information
APAR number
IZ35465
Reported component name
DB2 EDE AIX
Reported component ID
5724N7600
Reported release
950
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-10-21
Closed date
2009-12-22
Last modified date
2009-12-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ENGN_SQN
Fix information
Fixed component name
DB2 EDE AIX
Fixed component ID
5724N7600
Applicable component levels
R950 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
22 December 2009