home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC66943 Status: Geschlossen

INSTANCE HANG WHEN RUNNING REDISTRIBUTE COMMAND WHICH RECREATE INDEX AND
COLLECT STATISTICS INTERNALLY

Produkt:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problembeschreibung:
INSTANCE HANG WHEN RUNNING REDISTRIBUTE DATABASE PARTITION GROUP 
 
COMMAND WHICH RECREATE INDEX AND COLLECT STATISTICS INTERNALLY. 
 
Specific to encounter this scenario: 
-- create table 
-- create index on the table 
-- runstats on the table with distribution and index option, at 
least one of the column with distribution stats collected is 
subset of the index key 
-- redistribute database partition group command on the table, 
i.e. this scenario is specific to  Database Partitioning Feature 
(DPF) environments 
 
Sample of the stack trace: 
<StackTrace> 
-------Frame------ ------Function + Offset------ 
0x0900000004496DD8 PickVictimBucket__12sqli_hist_waFv + 0x70 
0x0900000004496604 AddValue__12sqli_hist_waFP13sqldDistValue + 
0x1E8 
0x0900000004495F40 sqliGatherDistStats__FP9schs_datai + 0xE0 
0x0900000004490B4C @145@gather__FP9schs_dataP7SQLI_CB + 0xA68 
0x0900000004A943E0 sqliProcessColStats__FP9schs_dataP7SQLI_CBPUi 
+ 0xE4 
0x09000000051A2CE0 
@145@sqliCriStats__FP7SQLI_CBP14SQLI_PAGE_DESC + 0xE4 
0x09000000051A1A08 
@145@sqliPageComplete__FP7SQLI_CBP6CRI_CBP6ACT_PGP14SQLI_PAGE_DE 
SC 
+ 0x160 
0x090000000519C9B0 
@145@sqliGetNewPage__FP7SQLI_CBP6CRI_CBP8REC_INFOiUs + 0xC84 
0x0900000005196314 sqliCIBuildPage__FP11SQLD_CRI_CB + 0x7B0 
0x09000000051C62C8 sqlurRedistIndexCreate__FP11SQLD_CRI_CBPc + 
0x160 
0x09000000051BB7B8 
@145@sqlicris__FP8sqeAgentPcPP10SQLD_VALUEP8REC_INFOP7SQLI_CB + 
0x514 
0x09000000051B9B38 
sqlicri__FP8sqeAgentP8SQLD_TCBP16SQLB_OBJECT_DESCP15SQLI_SUBAGNT 
_CBPcPP10SQLD_VALUEP17SQLD_CREATEINX_CBP9SQLD_IXCB 
+ 0 
x13D0 
0x09000000051D9E5C 
zRebuild__18sqlucCIndexWrapperFP22sqlucIIndexKeyIteratorP10sqlo_ 
latchUcP10SQLD_TSTATPP10SQLD_ISTATiPiT2P8SQLP_LSN 
+ 0x 
348 
0x09000000051D949C 
zFlushInternal__36sqlucCSortedIncrementalIndexStrategyFb + 0x75C 
0x09000000051DC140 
zCompleteStrategy__36sqlucCSortedIncrementalIndexStrategyFv + 
0x2C 
</StackTrace>
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DPF specific                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* INSTANCE HANG WHEN RUNNING REDISTRIBUTE DATABASE PARTITION   * 
* GROUP                                                        * 
* COMMAND WHICH RECREATE INDEX AND COLLECT STATISTICS          * 
* INTERNALLY.                                                  * 
*                                                              * 
*                                                              * 
* Specific to encounter this scenario:                         * 
*                                                              * 
* -- create table                                              * 
*                                                              * 
* -- create index on the table                                 * 
*                                                              * 
* -- runstats on the table with distribution and index option, * 
* at                                                           * 
* least one of the column with distribution stats collected is * 
*                                                              * 
* subset of the index key                                      * 
*                                                              * 
* -- redistribute database partition group command on the      * 
* table,                                                       * 
* i.e. this scenario is specific to  Database Partitioning     * 
* Feature                                                      * 
* (DPF) environments                                           * 
*                                                              * 
*                                                              * 
*                                                              * 
* Sample of the stack trace:                                   * 
*                                                              * 
* <StackTrace>                                                 * 
*                                                              * 
* -------Frame------ ------Function + Offset------             * 
*                                                              * 
* 0x0900000004496DD8 PickVictimBucket__12sqli_hist_waFv + 0x70 * 
*                                                              * 
* 0x0900000004496604 AddValue__12sqli_hist_waFP13sqldDistValue * 
* +                                                            * 
* 0x1E8                                                        * 
*                                                              * 
* 0x0900000004495F40 sqliGatherDistStats__FP9schs_datai + 0xE0 * 
*                                                              * 
* 0x0900000004490B4C @145@gather__FP9schs_dataP7SQLI_CB +      * 
* 0xA68                                                        * 
* 0x0900000004A943E0                                           * 
* sqliProcessColStats__FP9schs_dataP7SQLI_CBPUi                * 
* + 0xE4                                                       * 
*                                                              * 
* 0x09000000051A2CE0                                           * 
*                                                              * 
* @145@sqliCriStats__FP7SQLI_CBP14SQLI_PAGE_DESC + 0xE4        * 
*                                                              * 
* 0x09000000051A1A08                                           * 
*                                                              * 
* @145@sqliPageComplete__FP7SQLI_CBP6CRI_CBP6ACT_PGP14SQLI_PAGE_ 
* SC                                                           * 
*                                                              * 
* + 0x160                                                      * 
*                                                              * 
* 0x090000000519C9B0                                           * 
*                                                              * 
* @145@sqliGetNewPage__FP7SQLI_CBP6CRI_CBP8REC_INFOiUs + 0xC84 * 
*                                                              * 
* 0x0900000005196314 sqliCIBuildPage__FP11SQLD_CRI_CB + 0x7B0  * 
*                                                              * 
* 0x09000000051C62C8 sqlurRedistIndexCreate__FP11SQLD_CRI_CBPc * 
* +                                                            * 
* 0x160                                                        * 
*                                                              * 
* 0x09000000051BB7B8                                           * 
*                                                              * 
* @145@sqlicris__FP8sqeAgentPcPP10SQLD_VALUEP8REC_INFOP7SQLI_CB 
* +                                                            * 
* 0x514                                                        * 
*                                                              * 
* 0x09000000051B9B38                                           * 
*                                                              * 
* sqlicri__FP8sqeAgentP8SQLD_TCBP16SQLB_OBJECT_DESCP15SQLI_SUBAG 
* _CBPcPP10SQLD_VALUEP17SQLD_CREATEINX_CBP9SQLD_IXCB           * 
*                                                              * 
* + 0                                                          * 
*                                                              * 
* x13D0                                                        * 
*                                                              * 
* 0x09000000051D9E5C                                           * 
*                                                              * 
* zRebuild__18sqlucCIndexWrapperFP22sqlucIIndexKeyIteratorP10sql 
* latchUcP10SQLD_TSTATPP10SQLD_ISTATiPiT2P8SQLP_LSN            * 
*                                                              * 
* + 0x                                                         * 
*                                                              * 
* 348                                                          * 
*                                                              * 
* 0x09000000051D949C                                           * 
*                                                              * 
* zFlushInternal__36sqlucCSortedIncrementalIndexStrategyFb +   * 
* 0x75C                                                        * 
* 0x09000000051DC140                                           * 
*                                                              * 
* zCompleteStrategy__36sqlucCSortedIncrementalIndexStrategyFv  * 
* +                                                            * 
* 0x2C                                                         * 
*                                                              * 
* </StackTrace>                                                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* To workaround this issue, you may change the runstats        * 
* command to NOT to include "with distribution" clause before  * 
* the  REDISTRIBUTE step.                                      * 
*                                                              * 
* After the REDISTRIBUTE step, you may issue runstats to       * 
* collect  distribution stats manually.                        * 
****************************************************************
Local-Fix:
To workaround this issue, you may change the runstats command to 
NOT to include "with distribution" clause before the 
REDISTRIBUTE step. 
After the REDISTRIBUTE step, you may issue runstats to collect 
distribution stats manually.
verfügbare FixPacks:
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
v9.5FP6, v97FP3 and future release will contain this fix.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC67038 IC67042 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
05.03.2010
12.07.2010
12.07.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP6,
9.7.FP3
Problem behoben lt. FixList in der Version