home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC97598 Status: Geschlossen

AFTER LOGS BECOME FULL, AN INSERT INTO A GLOBAL TEMPORARY TABLE (DGTT)
FAILS WITH SQL0901N

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
The following steps reproduce the problem (must be done on a 
non-catalog node): 
 
CONNECT TO TEST 
CREATE USER TEMPORARY TABLESPACE SYSTOOLSTMPSPACE IN IBMCATGROUP 
MANAGED BY AUTOMATIC STORAGE EXTENTSIZE 4 
DECLARE GLOBAL TEMPORARY TABLE SESSION.TEMP_EMP (EMPNO  CHAR(6) 
NOT NULL, SALARY DECIMAL(9, 2), BONUS  DECIMAL(9, 2), COMM 
DECIMAL(9, 2)) WITH REPLACE ON COMMIT PRESERVE ROWS 
INSERT INTO SESSION.TEMP_EMP VALUES ('123456', 20.00, 10.00, 
5.00) 
DROP TABLE SESSION.TEMP_EMP 
==> produces SQL0964C  The transaction log for the database is 
full.  SQLSTATE=57011 
DROP TABLE SESSION.TEMP_EMP 
DECLARE GLOBAL TEMPORARY TABLE SESSION.TEMP_EMP (EMPNO  CHAR(6) 
NOT NULL, SALARY DECIMAL(9, 2), BONUS  DECIMAL(9, 2), COMM 
DECIMAL(9, 2)) WITH REPLACE ON COMMIT PRESERVE ROWS 
INSERT INTO SESSION.TEMP_EMP VALUES ('123456', 20.00, 10.00, 
5.00) 
==> produces SQL0901N  The SQL statement failed because of a 
non-severe system error.  Subsequent SQL statements can be 
processed.  (Reason "sqlrl_userTempIUD: tid/fid not found".) 
SQLSTATE=58004 
CONNECT RESET 
 
On a non-catalog node, when the logs are full db2 responds with 
SQL0964C on the first DROP TABLE.  Even though the DROP TABLE 
failed, the first INSERT still remains in the APM cache as 
valid.  On the 
second INSERT, db2 tries to use the first INSERT's tid/fid, thus 
resulting in the -901. 
 
On the catalog node, both DROP TABLE statements fail with 
SQL0964C.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 fix pack 4.                             * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
First fixed in DB2 v10.1 fix pack 4.
Workaround
N/A
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
12.11.2013
22.09.2014
22.09.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.4 FixList
10.1.0.5 FixList