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 IC95349 Status: Geschlossen

PAGE_FETCH_PAIRS AND AVGPARTITION_PAGE_FETCH_PAIRS STATISTICS CA NNOT BE
CLEARED BY MANUAL UPDATE IF VARCHAR2 COMPATIBILITY IS ON

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Page fetch pairs statistics are collected when DETAILED index 
statistics are collected.  In a database with varchar2 
compatibility enabled, the PAGE_FETCH_PAIRS and 
AVGPARTITION_PAGE_FETCH_PAIRS statistics cannot be cleared by 
manual update of SYSSTAT.INDEXES. 
 
Typically, users might try to clear the statistics with either a 
zero-length string or a single blank string.   In both cases, 
DB2 will return an error, either SQL0407N or SQL1227N. 
 
You might experience this problem when trying to use db2look in 
mimic mode on a database with varchar2 compatibility enabled.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 UDB version 10.5 fixpack 3.                   * 
****************************************************************
Local-Fix:
To clear the index statistics, perform a runstats without 
DETAILED index statistics, for example, 
   RUNSTATS ON TABLE TEST.T1 WITH DISTRIBUTION AND INDEXES ALL 
 
If you have a -m db2look mimic output file you want to apply, 
1) replace the table-only runstats command with one that also 
collects basic index statistics 
2) replace PAGE_FETCH_PAIRS='' with PAGE_FETCH_PAIRS=' ' 
3) replace AVGPARTITION_PAGE_FETCH_PAIRS='' with 
AVGPARTITION_PAGE_FETCH_PAIRS=' ' 
 
For example, 
 
replace occurrences of: 
RUNSTATS ON TABLE "TEST    "."T3" ; 
    PAGE_FETCH_PAIRS='', 
    AVGPARTITION_PAGE_FETCH_PAIRS='', 
 
with: 
RUNSTATS ON TABLE "TEST    "."T3" AND INDEXES ALL ; 
    PAGE_FETCH_PAIRS=' ', 
    AVGPARTITION_PAGE_FETCH_PAIRS=' ',
verfügbare FixPacks:
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Lösung
Problem was first fixed in DB2 UDB Version 10.5 Fixpack 3.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.08.2013
27.02.2014
27.02.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.3 FixList
10.5.0.3 FixList