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

EXPLAIN OF A STATEMENT WITH AN OPTIMIZER GUIDELINE FAILS WITH SQL0901N
ERROR.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
We seem to be dumping in sqlnn_cmpl. 
 
Stack #1             Signal #12        Timestamp 
2011-09-29-16.14.42.671388 
0        ossDumpStackTraceEx 
1        OSSTrapFile::dumpEx 
2        sqlo_trce 
3        sqloDumpDiagInfoHandler 
4        __pthread_mutex_cond_lock 
5        pthread_kill 
6        sqloDumpEDU 
7        sqldDumpContext 
8        sqlrr_dump_ffdc 
9        sqlzeDumpFFDC 
10       sqlzeMapZrc 
11       sqlnn_erdm 
12       sqlnn_cmpl 
13       sqlnn_cmpl 
14       sqlra_compile_var 
15       sqlra_find_var 
16       sqlra_get_var 
17       sqlrr_execute_immediate 
18       sqlrr_execimmd 
19       sqljs_ddm_excsqlimm 
20       sqljsParseRdbAccessed 
21       sqljsParse 
22       sqljsSqlam 
23       sqljsDriveRequests 
24       sqljsDrdaAsInnerDriver 
25       sqljsDrdaAsDriver 
26       sqeAgent::RunEDU 
27       sqzEDUObj::EDUDriver 
28       sqlzRunEDU 
29       sqloEDUEntry 
30       pthread_create@@GLIBC_2.2.5 
31       clone 
Enter frame number [0-31, default 0] : 14 
 
Repro: 
******** 
 
db2set DB2_OPTPROFILE=YES 
 
create table t1(c1 int,c2 int,c3 int); 
create index i1 on t1(c1); 
 
"Query: select * from t1 where c1+1>1; 
Optimizer profile content: 
<OPTGUIDELINES> 
<IXSCAN TABLE='T//1' INDEX='I1'/> 
</OPTGUIDELINES>; 
 
Compiling the query returns the following message: 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed. SQLSTATE=58004 
 
 
With the APAR fix, the query compilation will be complete and an 
explain diagnostic message 
EXP0009W will be logged in explain table.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* EXPLAIN OF A STATEMENT WITH AN OPTIMIZER GUIDELINE FAILS     * 
* WITH                                                         * 
* SQL0901N ERROR.                                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 6 or higher              * 
****************************************************************
Local-Fix:
Correct the table name in optimizer profile.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
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

Lösung
Problem first fixed in DB2 Version 9.7 Fix Pack 6
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC79913 IC84181 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
21.10.2011
07.11.2012
07.11.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP6
Problem behoben lt. FixList in der Version
9.7.0.6 FixList