DB2 - Problembeschreibung
Problem IC63104 | Status: Geschlossen |
POSSIBLE DATA LOSS WHEN CALLING ADMIN_MOVE_TABLE AND TRIGGERS ARE MISSING PRIOR TO THE SWAP PHASE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
During the INIT phase of ADMIN_MOVE_TABLE a number of triggers are created to capture any data changes made to the source table. If any of these triggers are dropped prior to the SWAP phase, it is possible to miss some changes that happened to the source table during the move, and have data loss after the move completes. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users of the ADMIN_MOVE_TABLE stored procedure * **************************************************************** * PROBLEM DESCRIPTION: * * During the INIT phase of ADMIN_MOVE_TABLE a number of * * triggers are created to capture any data changes made to the * * source table. If any of these triggers are dropped prior to * * the SWAP phase, it is possible to miss some changes that * * happened to the source table during the move, and have data * * loss after the move completes. * **************************************************************** * RECOMMENDATION: * * Upgrade to FP1 for v97 for the fix. * **************************************************************** | |
Local-Fix: | |
Before the SWAP phase, make sure the triggers still exist. This can be done by checking SYSCAT.TRIGGERS. For the table being moved, there should exist 4 triggers, with a name similar to 'T1AAAAVxi', where T1 is the name of the table being moved. If these 4 triggers don't exist, cancel the move operation and start it again. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
If the triggers are missing prior to the SWAP phase, ADMIN_MOVE_TABLE will return an error. Upgrade to FP1 for v97 for the fix. | |
Workaround | |
Before the SWAP phase, make sure the triggers still exist. This can be done by checking SYSCAT.TRIGGERS. For the table being moved, there should exist 4 triggers, with a name similar to 'T1AAAAVxi', where T1 is the name of the table being moved. If these 4 triggers don't exist, cancel the move operation and start it again. | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 10.09.2009 16.02.2010 16.02.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
Problem behoben lt. FixList in der Version | |
9.7.0.1 |