DB2 - Problem description
Problem IT25495 | Status: Closed |
DB2 MAY RETURN SQL0901N ERROR WHEN COMPILING A QUERY CONTAINING A GROUP BY AND OLAP FUNCTIONS | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Db2 may return error SQL0901N: "sqlno_smp_create_pgby: Removed all col" when the following criteria is met: - intra-partition parallelism is enabled - a primary key/unique index is on a table T in the query - the query contains an OLAP function with ordering on a column from T that is not in the primary key/unique index - the query contains a group by that includes the primary key/unique index columns and does not include the OLAP ordered column | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See Local Fix * **************************************************************** | |
Local Fix: | |
Inhibit intra-partition parallelism for the instance by setting the CURRENT DEGREE special register to '1' or for a specific SQL query via an optimizer guideline. | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 26.06.2018 14.08.2020 14.08.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |