DB2 - Problem description
Problem IT01173 | Status: Closed |
SQL0901 REASON "ORDER COLS REMOVED FROM SORT OUTPUT COLS." WITH DB2_WORKLOAD=PUREDATA_OLAP | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
When the registry variable : DB2_WORKLOAD=PUREDATA_OLAP is set, a heuristic that is applied during query compilation can lead to error : SQL0901 Reason "Order cols removed from sort output cols." for statements that have no group by clause nor distinct aggregate and that use the min/max aggregate. This also only occurs in DPF or SMP environments. This particular problem does not happen in versions below V10.1 Fix Pack 2. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Cancun Release 10.5.0.4 (also known as Fix * * Pack 4) or Later * **************************************************************** | |
Local Fix: | |
enable this registry setting : db2set DB2_EXTENDED_OPTIMIZATION="ON,COMPLETE_GB,TQPERF 30" | |
available fix packs: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Solution | |
First Fixed in DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 22.04.2014 13.10.2014 13.10.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |