DB2 - Problem description
Problem IT17532 | Status: Closed |
SQL1227N CAN OCCUR WHEN APPLYING STATISTICS TAKEN BY DB2LOOK -M -R | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
When generating UPDATE statements that are required to replicate the statistics by db2look -m option, it also generates RUNSTATS command and UPDATE statements to reset SYSSTAT.INDEXES and SYSSTAT.COLUMNS to -1. When -r option is used, not only RUNSTATS command but also resetting those tables are also removed. It can cause SQL1227N rc=6 or 8. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.1 Mod 3 Fix Pack 3 or higher * **************************************************************** | |
Local Fix: | |
Using -m option without -r and removing RUNSTATS command from the output. | |
available fix packs: | |
Db2 Version 11.1 Mod 3 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
First fixed in Db2 11.1 Mod 3 Fix Pack 3 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.10.2016 19.03.2018 19.03.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |