suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT33871 Status: Closed

DISTRIBUTION KEY ORDER WAS NOT INHERITED FROM THE AS-RESULT-TABLE

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem description:
The distribution key order may be invalid when a table is
created based on a SELECT.

For example:
CREATE TABLE A(A INT, B INT) ORGANIZE BY COLUMN DISTRIBUTE BY
(B, A);
CREATE TABLE B AS (SELECT * FROM A) WITH DATA;
SELECT TABNAME, COLNAME, PARTKEYSEQ FROM SYSCAT.COLUMNS WHERE
TABNAME IN ('A','B')
ORDER BY TABNAME, COLNO;

TABNAME|COLNAME|PARTKEYSEQ
-------|-------|----------
A |A | 2
A |B | 1
B |A | 1
B |B | 2

This is not what should be happening. The distribution key of
table B should be inherited from table A.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* all                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 11.5.5.0 or higher                            *
****************************************************************
Local Fix:
N/A
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.08.2020
20.11.2020
20.11.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)