IBM Support

IT31278: DB2LOOK -M -R CREATE UPDATE SYSSTAT.INDEXES STATEMENT FOR TABLE EVEN WHEN TABLE HAS NO INDEX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Here is a problem reproducible steps.
    
    db2 -v "create table s1.t1(a int)"
    db2 -v "insert into s1.t1 values(3)"
    db2look -d db1 -f -m -r -l -a -e -o db2look.txt
    
    In db2look.txt, search keyword WHERE TABNAME = 'T1' AND
    TABSCHEMA = 'S1', and one can find there is UPDATE
    SYSSTAT.INDEXES statement even if there is no index in
    table t1.
    
    This is caused by V11.1 Mod3 FP3 integrated APAR IT17532
    regression.
    
    IT17532: SQL1227N CAN OCCUR WHEN APPLYING STATISTICS TAKEN BY
    DB2LOOK -M -R
    https://www-01.ibm.com/support/docview.wss?uid=swg1IT17532
    
    There is no workaound so users may need to remove that
    UPDATE SYSSTAT.INDEXES statement manually.  Or simply ignore.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Db2 Version 11.1                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 Version 11.1 Mod 4 Fix Pack 6.                *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Db2 Version 11.1 Mod 4 Fix Pack 6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31278

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-13

  • Closed date

    2021-03-14

  • Last modified date

    2021-03-14

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022