DB2 - Problembeschreibung
Problem IC83469 | Status: Geschlossen |
INCORRECT RESULTS AFTER LOAD INTO TABLE WITH CONSTRAINTS FOLLOWED BY ATTACH OR DETACH | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
This APAR fixes the following two related problems: 1. The first problem occurs after loading into a table with constraints and then attaching that table to a partitioned table before using SET INTEGRITY on the standalone table to validate the newly loaded data. All rows from the newly attached partition should be visible after running SET INTEGRITY on the partitioned table, however, the newly loaded rows are not visible when using an index scan. To hit this problem there must be one or more partitioned indexes on the range partitioned table, and the source table to attach has a matching index for each partitioned index on the target range partitioned table. 1b. Further, if a new partitioned index is created before running SET INTEGRITY on the partitioned table, then the loaded keys will, incorrectly not be included in the new index on the newly attached partition. This is a problem regardless of whether or not the partitioned indexes exist on the range partitioned table prior to attach. 2. The second problem occurs after loading into a partitioned table with constraints, not running SET INTEGRITY and then detaching one of the partitions. All rows from the detach partition (i.e. the newly created standalone table) should be visible, however, the newly loaded rows are not visible when using an index scan. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 10.1.0.1. * **************************************************************** | |
Local-Fix: | |
To make the loaded data visible, the user can either: - execute another load that loads data into the problem partition - OR execute the REORG INDEXES ALL command In order to fix the corrupted index problem mentioned in 1b, the user must execute the REORG INDEXES ALL command. | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
The problem is first fixed in DB2 version 10.1.0.1. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 15.05.2012 13.09.2012 13.09.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.1 | |
10.5.0.1 |