DB2 - Problem description
Problem IC61694 | Status: Closed |
DROP INDEX STATEMENTS MAY DEADLOCK WITH DML ISSUED AGAINST THE SAME TABLE | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When dropping indexes from a given table, if there is a DML statement running concurrently referencing the same table, it is possible to encounter a deadlock. This can only happen during the compilation stage of the DML statement, and is a small timing window in which it can cause a deadlock with the DROP INDEX statement. | |
Problem Summary: | |
DROP INDEX STATEMENTS MAY DEADLOCK WITH DML ISSUED AGAINST THE SAME TABLE | |
Local Fix: | |
Workaround: Serialize DDL on a given table, ensuring to commit after each statement. Attempt to have DML statements issued after the DDL work has been completed. If dropping indexes is a common scenario for tables that are being accessed by DML, then it is best to apply this APAR to your environment. Defect: wsdbu00398698 | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in DB2 LUW v9.7 Fixpack 1 and later. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.06.2009 15.12.2009 15.12.2009 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP1 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.1 |