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

DB2 ABEND OR MARK DB BAD WITH -1034 ERROR WHILE PERFORMING UPDATE AND
DELETE WITH "OR" PREDICATE.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
DB2 might encounter some problem when issuing a SQL statement 
which has logical operator "OR" specified in the "WHERE" clause. 
 
The problem may only occur when: 
-- it's a DELETE/UPDATE statement and 
-- the logical operator "OR" is specified between 2 predicates 
in the WHERE clause 
 
To verify if this problem is hit, use db2exfmt to generate the 
explain plan file for the statement, and then search if there is 
a UNION operation in the optimized statement and the access plan 
graph contains a UNION operator with one DELETE/UPDATE operator 
above it. 
 
When running into this problem DB2 may have varieties of 
symptoms. Here are some discovered ones: 
-- DB2 instance crashes due to a SIGSEGV. The trace stack starts 
with 
sqldRowDelete 
sqlridel 
sqlriSectInvoke 
sqlrr_execute_immediate 
-- DB2 trapped with trap file and dump files generated, and then 
database is marked bad with -1034 error.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users of 9.7 on Linux, Unix and Windows platforms.       * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* DB2 might encounter some problem when issuing a SQL          * 
* statement which has logical operator "OR" specified in the   * 
* "WHERE" clause.                                              * 
*                                                              * 
* The problem may only occur when:                             * 
* -- it's a DELETE/UPDATE statement and                        * 
* -- the logical operator "OR" is specified between 2          * 
* predicates in the WHERE clause                               * 
*                                                              * 
* To verify if this problem is hit, use db2exfmt to generate   * 
* the explain plan file for the statement, and then search if  * 
* there is a UNION operation in the optimized statement and    * 
* the access plan graph contains a UNION operator with one     * 
* DELETE/UPDATE operator above it.                             * 
*                                                              * 
* When running into this problem DB2 may have varieties of     * 
* symptoms. Here are some discovered ones:                     * 
* -- DB2 instance crashes due to a SIGSEGV. The trace stack    * 
* starts with                                                  * 
* sqldRowDelete                                                * 
* sqlridel                                                     * 
* sqlriSectInvoke                                              * 
* sqlrr_execute_immediate                                      * 
* -- DB2 trapped with trap file and dump files generated, and  * 
* then database is marked bad with -1034 error.                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 UDB Version 9.7 FixPak 1.                     * 
****************************************************************
Local-Fix:
Split the statement into two statements to perform the data 
modification in sequence.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 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 10 for Linux, UNIX, and Windows

Lösung
First fixed in DB2 UDB Version 9.7 FixPak 1.
Workaround
Split the statement into two statements to perform the data 
modification in sequence.
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.10.2009
17.12.2009
17.12.2009
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.
Problem behoben lt. FixList in der Version
9.7.0.1 FixList