IC94076: DB2LOOK MAY GENERATE THE SAME PREDICATE TO MIMIC STATISTICS FOR UNIQUE INDEXES.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The db2look with -m option can generate the same predicates like
    as below against different indexes on the same table.
    
    WHERE COLNAMES = ' '
    AND TABNAME = '<tabname>' AND TABSCHEMA = '<schema>';
    
    COLNAMES is valid only if each column name is less than 30 bytes
    and if there are fewer than 16 columns in the index. Otherwise,
    the value can be blank.
    As the db2look uses COLNAMES to mimic index stats against
    primary key index and indexes for unique constraint.
    So db2look generates an invalid update statements to mimic index
    stats if a table has more than one indexes meet above
    conditions.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who use db2look to mimic statistics for unique         *
    * indexes.                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to V9.7 FixPack 9 or later.                   *
    ****************************************************************
    

Problem conclusion

  • This problem was first fixed in DB2 V9.7 FixPack 9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC94076

  • 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-07-12

  • Closed date

    2013-12-17

  • Last modified date

    2013-12-17

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

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

    IC97128 IC97132

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

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC94076

Modified date:

2013-12-17

Translate my page

Machine Translation

Content navigation