IBM Support

IC79792: PARTITIONED INDEX STATISTICS MAY NOT BE REPRESENTATIVE WHEN DATA PARTITION DETACH HAS OCCURRED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The statistics of a partitioned index may not be representative
    after data partition detach occurs. The statistics stored in
    syscat.indexpartitions and syscat.indexes may show
    inconsistency. For example, nlevels in syscat.indexes is 0 while
    none of nlevels in syscat.indexpartitions is 0.
    
    To determine if this problem affects a particular table:
    
    1. Collect db2cat output: db2cat -d dbname -s schema -n table -o
    db2cat.out
    
    2. Find the "Data Partitioning DESCRIPTION" section, for
    example:
    
              Data Partitioning DESCRIPTION
              -----------------------------
     Flags                     : PARTITIONED
     Number partitions         : 5
     Number partitioning cols  : 1
     MAX Data Partition ID     : 7
    
    3. If "MAX Data Partition ID" is greater than "Number
    partitions", the table might experience the problem.
    

Local fix

  • Manually update the statistics in sysstat.indexes to a non-zero
    value or consult DB2 support for a value to be used for the
    manual update.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users with table partitioning data organization          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Version 9.7 Fix Pack 6                            *
    ****************************************************************
    

Problem conclusion

  • The problem was first fixed in Version 9.7 Fix Pack 6
    

Temporary fix

  • See Local Fix
    

Comments

APAR Information

  • APAR number

    IC79792

  • 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

    2011-11-14

  • Closed date

    2012-06-14

  • Last modified date

    2012-06-14

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

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

    IC84512

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC79792

Modified date: 14 June 2012