IBM Support

IC76346: DB2 REDISTRIBUTE RECOVERY MAY FAIL WITH -902 ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • It is possible for Redistribute Recovery after a failed
    redistribute to fail with the following error message:
    
    SQL6064N  SQL error "-902" occurred during data redistribution.
    
    During data redistribution, if the user has not specified
    "INDEXING MODE DEFERRED", Redistribute will recreate the indexes
    on all nodes but will not mark them invalid while they are being
    populated. If redistribute were to be interrupted due to a
    hardware error or other problem it is possible the index on disk
    ends up in an inconsistent state. The subsequent REDISTRIBUTE
    CONTINUE  or ABORT command will attempt to read the index on
    disk since they are not marked invalid but will fail since the
    indexes are inconsistent. The db2diag.log will indicate an error
    about a bad index page.
    
    Redistribute should mark the index invalid prior to populating
    it, and mark it valid again once it is finished. That way in
    case of failure REDISTRIBUTE CONTINUE will not attempt to read
    the index information.
    

Local fix

  • Use DB2DART to manually mark the index invalid and re-issue the
    REDISTRIBUTE CONTINUE or REDISTRIBUTE ABORT command.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See above.                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 5.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC76346

  • 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-05-11

  • Closed date

    2011-12-16

  • Last modified date

    2011-12-16

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

    IC76278

  • 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

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 December 2011