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 IC89297 Status: Geschlossen

QUERIES WITH A NOT EXISTS OR NOT IN PREDICATE, AND A PREDICATE REFERENCING
GENERATED COLUMNS MAY CAUSE SQL0901N

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
A query may return 
 
SQL0901N "columnZval not found" with the following stack 
 
SQL0901N  The SQL statement or command failed because of a 
database system 
error. (Reason "columnZval not found".)  SQLSTATE=58004 
 
Stack is: 
 
ossDumpStackTraceInternal 
ossDumpStackTraceV98 
OSSTrapFile::dumpEx 
sqlo_trce 
sqloDumpDiagInfoHandler 
__pthread_mutex_cond_lock 
pthread_kill 
ossPthreadKill 
sqloDumpEDU 
sqldDumpContext 
sqlrr_dump_ffdc 
sqlzeDumpFFDC 
sqlzeSqlCode 
sqlnn_erds 
sqlng_process_hsjn_buffs 
sqlng_process_hsjn_op 
sqlngProcessLolepop 
sqlng_process_mate_op 
sqlngProcessLolepop 
sqlng_process_pipe_op 
sqlngProcessLolepop 
sqlng_process_mate_op 
sqlngProcessLolepop 
sqlng_build_thread 
sqlng_scan_derived_table 
sqlng_process_scan_op 
sqlngProcessLolepop 
sqlng_build_thread 
sqlng_process_eao_plan 
sqlng_process_scan_op 
sqlngProcessLolepop 
sqlng_build_thread 
sqlng_main 
sqlnn_cmpl 
sqlnn_cmpl 
sqlrr_cmpl 
sqlra_recreate_pkg 
sqlra_rebind_pkg 
sqlrr_rebind 
sqljs_ddm_rebind 
sqljsParseRdbAccessed 
sqljsParse 
sqljsSqlam 
sqljsDriveRequests 
sqljsDrdaAsInnerDriver 
sqljsDrdaAsDriver 
sqeAgent::RunEDU 
sqzEDUObj::EDUDriver 
sqlzRunEDU 
sqloEDUEntry 
 
 
or SQL0901N "Found zero CLOB.reset" with the following stack 
 
SQL0901N  The SQL statement or command failed because of a 
database system 
error. (Reason "Found zero CLOB.reset".)  SQLSTATE=58004 
 
Stack is: 
 
sqlng_build_IU_CLOB_obj 
sqlng_process_sort_op 
sqlngProcessLolepop 
......... 
 
This problem requires all the following conditions: 
 
1. There is a NOT EXISTS or NOT IN predicate in the query. 
2. There is a reference to a table with generated columns 
3. There is a predicate referencing the column in the 
definitions of the generated columns in (2). 
 
To illustrate the conditions (2) and (3), here is an example, 
 
CREATE TABLE T( 
  RECORD_DATE DATE, 
  RECORD_YEAR INTEGER GENERATED ALWAYS AS (YEAR(RECORD_DATE)) 
); 
 
The column RECORD_YEAR is the generated column in the condition 
(2). 
 
The query contains the predicate 
 
RECORD_DATE = '2012/12/01' 
 
The predicate references the column RECORD_DATE which is in the 
definition of the generated column RECORD_YEAR. 
 
This problem occurs in DB2 version 10.1 GA, Fix Pack 1 and Fix 
Pack 2.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 Fix Pack 3 or higher                    * 
****************************************************************
Local-Fix:
Adding the redundant predicate from the generated column into 
the query. In the example given above, adding the predicate 
 
RECORD_YEAR = 2012 
 
will avoid this problem.
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
Problem is first fixed in DB2 v10.1 Fix Pack 3
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.12.2012
27.09.2013
27.09.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.3 FixList
10.1.0.3 FixList