DB2 - Problem description
Problem IC75031 | Status: Closed |
DEADLOCK MAY OCCUR WHEN RUNNING TWO ALTER TABLE ATTACH PARTITION COMMANDS CONCURRENTLY | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When the ATTACH PARTITION command is executed in a high concurrency level, deadlock may occur if the table being attached as the new partition has index defined on it. The deadlock is between the two catalog tables, SYSDEPENDENCIES and SYSINDEXAUTH. You will see the below records from the deadlock event monitor output: Application 1: Lock requested: U lock on SYSDEPENDENCIES Lock Held: Lock Name : 0x00000014000000000004000552 Lock Attributes : 0x00000020 Release Flags : 0x40000000 Lock Count : 1 Hold Count : 0 Lock Object Name : 262149 Object Type : Row Tablespace Name : SYSCATSPACE Table Schema : SYSIBM Table Name : SYSINDEXAUTH Data partition id : 0 Mode : X - Exclusive Application 2: Lock requested: NS on SYSINDEXAUTH Lock Held: Lock Name : 0x0000010C00000000000C001252 Lock Attributes : 0x00000010 Release Flags : 0x40000000 Lock Count : 2 Hold Count : 0 Lock Object Name : 786450 Object Type : Row Tablespace Name : SYSCATSPACE Table Schema : SYSIBM Table Name : SYSDEPENDENCIES Data partition id : 0 Mode : U - Update | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 UDB Version 9.7 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error description field for more information. * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 FixPack 5. * **************************************************************** | |
Local Fix: | |
Run the ALTER TABLE ATTACH PARTITION commands in sequence rather than in parallel. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 9.7 FixPack 5. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 15.03.2011 16.12.2011 16.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |