DB2 - Problem description
Problem IC74451 | Status: Closed |
DB2 REORGCHK CURRENT STATISTICS ON TABLE ALL TAKES A LONG TIME ON VERY LARGE DATABASES. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
The command "db2 reorgchk current statistics on table all " on very large databases such as SAP databases involving thousands of tables and associated indexes can take a long time (more than 48 hours) to complete. The same command on v9.5 version will complete in hours. One of the underlying queries involved in the reorgchk logic has been identified as inefficient. Reorgchk logic to get column IDs for Indexes in changed to return all the column IDs in one attempt with fewer joins. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Problem Description above. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version Fix Pack 5. * **************************************************************** | |
Local Fix: | |
N/A | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in Version 9.7 Fix Pack 5. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.02.2011 19.12.2011 19.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 |