home clear 64x64
en blue 200x116 de orange 200x116 info letter User
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 IC96653 Status: Closed

CREATE STATISTICAL VIEW ON COLUMNAR STORAGE (BLU) TABLE FAILS WITH SQL1667N

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Creating a statview which references a columnar storage based 
table is blocked and fails with SQL1667N. 
In the example below one of the tables (T1,T2) needs to be a 
columnar table. The view creation itself works: 
 
CREATE VIEW SV_Q2Q3 (c1)  AS ( SELECT 1 FROM T1 AS Q2, T2 AS Q3 
WHERE (Q3.DATAB <= Q2.STARTDATUM) AND (Q2.STARTDATUM <= 
Q3.DATBI) 
AND (Q2.DAN = Q3.DAN) ) 
DB20000I  The SQL command completed successfully. 
 
But the ALTER VIEW ... ENABLE QUERY OPTIMIZATION fails: 
 
ALTER VIEW SV_Q2Q3 ENABLE QUERY OPTIMIZATION 
DB21034E  The command was processed as an SQL statement because 
it was not a 
valid Command Line Processor command.  During SQL processing it 
returned: 
SQL1667N  The operation failed because the operation is not 
supported with the 
type of the specified table.  Specified table: 
"DPERMT.F55EKP_A_L_T".  Table 
type: "ORGANIZE BY COLUMN".  Operation: "ALTER TABLE". 
SQLSTATE=42858
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to 10.5.0.3                                           * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
Problem Fixed In 10.5.0.3
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.10.2013
28.02.2014
28.02.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.3 FixList
10.5.0.3 FixList