DB2 - Problem description
Problem IT34731 | Status: Closed |
RUNSTATS ON KEY COLUMNS SET PROFILE ON COLUMN-ORGANIZED TABLE WITH NO INDEXES MIGHT LATER LEAD TO SQLCODE -901 | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
A series of operations starting with the definition of a RUNSTATS profile with the "ON KEY COLUMNS" option on a column-organized table with no indexes (or primary keys or unique constraints) can sometimes lead to the following SQL0901 failure later when the table is referenced in queries or utilities: SQL0901N The SQL statement or command failed because of a database system error. (Reason "Packed descriptor corruption found. Please run RUNSTATS on this table".) SQLSTATE=58004 Unfortunately running RUNSTATS on the table as the message instructs does not resolve this particular problem. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 Version 11.1 Mod 4 Fix Pack 6 * **************************************************************** | |
Local Fix: | |
Contact Db2 Support for a service utility and instructions to fix the packed descriptor; do not use "RUNSTATS ON KEY COLUMNS SET PROFILE" on a column-organized table with no indexes, primary keys or unique constraints. | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 Version 11.1 Mod 4 Fix Pack 6 * **************************************************************** | |
Comment | |
First fixed in Db2 Version 11.1 Mod 4 Fix Pack 6. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.10.2020 19.03.2021 19.03.2021 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |