DB2 - Problem description
Problem IT31573 | Status: Closed |
DB2_REDUCED_OPTIMIZATION COULD NOT BE APPLIED BY SET CURRENT OPTIMIZATION PROFILE ON BLUDB/DB2WH. | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
When you run db2exfmt after setting DB2_REDUCED_OPTIMIZATION by set current optimization profile, got SQL0437 and could not be applied. Here is the error message by db2exfmt output. --- SQLCA : (Warning SQLCA from compile) SQLCODE 437; Function SQLNX188; Message token '13'; Warning 'None' --- However, it can be applied by inline optguidelines without any error. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.5m4fp0 or later * **************************************************************** | |
Local Fix: | |
db2 connect to DBNAME db2 "alter table systools.opt_profile drop primary key " db2 "alter table systools.opt_profile add primary key (schema, name) enforced" | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.01.2020 30.06.2020 30.06.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |