DB2 - Problembeschreibung
Problem IC66239 | Status: Geschlossen |
DB2 instance terminates abnormally or returns -901 compiling a query | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
Compiling a query on DB2 v9.7 fix pack 1 may result in the DB2 instance terminating abnormally with a stack similar to this example from Linux: 0000002A9AE8F0BE ossDumpStackTrace + 0x0186 0000002A9AE8CBD4 _ZN11OSSTrapFile4dumpEmiP7siginfoPv + 0x00aa 0000002A97F4A8DF sqlo_trce + 0x03cf 0000002A96D94B78 sqloEDUCodeTrapHandler + 0x02b8 0000003130A0C5B0 address: 0x0000003130A0C5B0 ; dladdress: 0x0000003130A00000 ; 0000002A965D4FB9 _Z21sqlnq_const_fold_treeP9sqlnq_pidRbP3loc + 0x0171 Another possible symptom of this problem is SQLCODE -901 with one of the two following reason codes: SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "invalid qnc assigment".) SQLSTATE=58004 or SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "column number out of range".) SQLSTATE=58004 To hit this problem, a query must have an outer join whose result is inner joined with a base table and there must be a join predicate, for example: create view V as select * from T1 left outer join T2 ... select * from V, T3 where V.C1=T3.C2 The problem only occurs on DB2 v9.7 fix pack 1. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users compiling a query in DB2 V9.7 fix pak 1 * **************************************************************** * PROBLEM DESCRIPTION: * * Problem Description : Compiling a query in V9.7 fix pack 1 * * can crash the DB2 instance. Please see APAR * * description for the details * * Problem Summary : Compiling a query in V9.7 fix pack 1 can * * crash the DB2 instance * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 fix pack 2 * **************************************************************** | |
Local-Fix: | |
Upgrade to DB2 v9.7 fix pack 2 or reverse the order in the join predicate, for the example above: T3.C2=V.C1 | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Lösung | |
This defect is fixed in DB2 V9.7 fix pack 2 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 11.02.2010 10.06.2010 30.09.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP2 | |
Problem behoben lt. FixList in der Version | |
9.7.0.2 |