DB2 - Problem description
Problem IC66531 | Status: Closed |
DB2 EXPORT CREATES EXCESSIVE LOCKING ON CATALOG TABLES. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Multiple locks on SYSDEPENDECIES and SYSSEQUENCES for rows that are not related to the table that is being exported. The problem occurs only when the select part of the statemt uses the wild card *: db2 export to <FILE> of ixf messages <MSG FILE> select * from <source schema>.<source_table> The query that is executed againtst the catalog tables with the isolation level that the package has been bound. In this case RS. The problem can be avoided if it is exported to DEL or ASC. Also if the list of columns is provided in the export statament. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * Excessive locking while running db2 export. It will * * locktimeout other applications generally waiting on * * SYSDEPENCIEStable * **************************************************************** * RECOMMENDATION: * * Migrate to v97fp2 oravoid using "select * " in the export * * command. Instead usethe list of columns * **************************************************************** | |
Local Fix: | |
1. Use export to DEL or ASC 2. List the name of the columns for export. Avoid using *. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Problem fixed in v97fp2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 22.02.2010 25.05.2010 25.05.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP2 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |