suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT23198 Status: Closed

SQL0156N WHEN UPDATING STATISTICS IN SYSSTAT.TABLES

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
SQL0156N may be returned when trying to update tables' stats in
SYSSTAT.TABLES catalog table:


db2 "update sysstat.tables set overflow=0 where
tabschema='DB2INST1'"
SQL0156N  The name used for this operation is not a table.
SQLSTATE=42809"


The problem is related with user temporary tables which are not
being taken into account hence causing the error.

The fix would be to include also user temporary tables and
update the stats.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* All users on db2 v10.5 FP9 and lower                         *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 v10.5 FP10                                    *
****************************************************************
Local Fix:
As a workaroung, temp tables can be omitted from the stats
update:

db2 "UPDATE SYSSTAT.TABLES SET OVERFLOW=0 WHERE
TABSCHEMA='' AND TABNAME IN (SELECT TABNAME FROM
SYSCAT.TABLES WHERE TABSCHEMA='' AND TYPE !='G')"
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT23072 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.11.2017
11.07.2018
11.07.2018
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)