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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • 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.
    

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=' ',
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 UDB version 9.7 fixpack 9.                    *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.7 FixPack 9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC92398

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-20

  • Closed date

    2013-12-23

  • Last modified date

    2013-12-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC95344 IC95349 IC96244 IC97821

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC92398

Modified date:

2013-12-23

Translate my page

Machine Translation

Content navigation