home clear 64x64
en blue 200x116 de orange 200x116 info letter User
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 IC86351 Status: Closed

SQL20005N WHEN CREATING TYPES EVEN THOUGH LIMIT HAS NOT BEEN REACHED.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When creating new types in DB2, it is possible that a SQL20005N 
error occurs, even though the maximum number of types allowed in 
the database was not reached. 
 
SQL20005N  The internal identifier limit of "<limit>" has been 
exceeded 
      for object type "<object-type>". 
 
DB2 has a limit on the maximum TYPEID value that is allowed in 
the database.  When a new type is created DB2 will generate a 
new TYPEID based on the value of the largest TYPEID that is 
already in the database. 
 
If types are dropped/altered/inserted many times in a 
development environment (for example), it is possible that the 
TYPEID values go out of sync.   When that happens some TYPEID 
values get lost and do not get reused.  As such it is possible 
that the database system has the capacity for more types but the 
maximum value for the TYPEID was reached so DB2 returns an error 
message. 
 
 
DB2 should allow a little more than 28000 types in the database.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7, Fixpak 8                         * 
****************************************************************
Local Fix:
If possible, drop all the types in the database, and then 
recreate them one at a time.  That will ensure each TYPEID will 
be in proper sync.
available fix packs:
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 Version 9.7, Fixpak 8
Workaround
see Local Fix.
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC89695 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
05.09.2012
15.04.2013
15.04.2013
Problem solved at the following versions (IBM BugInfos)
9.7.
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.8 FixList