IBM Support

IC76545: REORGS FAIL TO START AFTER REORG(TBLPAUSE) FAILED WITH -2219 DURING DATABASE BACKUP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem Description:
    After reorganization finishes on a table or indices for a
    table, runstats is run on that table.  For small tables,
    since the runstats completes in a few seconds this is not a
    problem.  For large tables, this can take many hours.   This
    is being done on a thread which also monitors whether an
    automatic server database backup should be initiated.   A
    long-running runstats could prevent a needed backup from
    occurring.
    
    
    
    Tivoli Storage Manager Versions Affected:
    Tivoli Storage Manager Server version 6.1.5.0 on all platforms
    
    
    
    Initial Impact:
    low
    
    
    
    Additional Keywords:
    zz61 TSM table index indices reorg database backup space
    monitor IC76543 IC76546 IC76547
    

Local fix

  • Running runstats after performing a reorganization is crucial
    to ensure that the rows in those tables can be accessed
    optimally.  Not running runstats might negatively and severely
    impact server performance.
    
    The running of runstats from the server after reorganization
    can be disabled, but the server administrator should manually
    run runstats for tables which have been reorganized.  This
    will allow the server monitor thread to run automatic database
    backups, and will ensure that runstats are run for reorganized
    tables.
    
    The running of runstats can be disabled while the server is
    running.  Issue the following commands from a DB2 command line
    processor window as the instance owner:
    1) db2 connect to tsmdb1
    2) db2 set schema tsmdb1
    3) db2 "insert into global_attributes
    (owner,name,type,length,int32)
    values('RDB','REORG_RUNSTATS_RUNFLAGS',3,0,4) "
    
    Please note that RDB and REORG_RUNSTATS_RUNFLAGS must be
    specified in upper-case.
    
    To restore runstats being run from the server, issue the
    following commands from a DB2 command line processor window
    as the instance owner.   This can be done while the server
    is running.
    1) db2 connect to tsmdb1
    2) db2 set schema tsmdb1
    3) db2 "delete from global_attributes where owner='RDB' and
    name='REORG_RUNSTATS_RUNFLAGS' "
    
    Please note that RDB and REORG_RUNSTATS_RUNFLAGS must be
    specified in upper-case.
    
    When a table reorganization completes, message ANR0294I is
    issued to the server activity log.   When a reorganization
    of the indices for a table completes, message ANR0317 is
    issued to the server activity log.
    
    For example:
     ANR0294I Reorganization for table PROFILES ended.
     ANR0317I Reorganization for indices for table ADMINISTRATORS
    ended with sqlCode 0.
    
    For each reorganization completion message, issue the following
    commands from a DB2 command line processor window as the
    instance owner.   This is to be done while the server is
    running and as soon as possible after the reorganization
    completes.
    1) db2 connect to tsmdb1
    2) db2 set schema tsmdb1
    3) db2 "RUNSTATS ON TABLE <tablename> WITH DISTRIBUTION AND
    SAMPLED DETAILED INDEXES ALL "
    where tableName is as indicated in the ANR0294I and ANR0317I
    message from the server activity log.
    
    For example,
    db2 "RUNSTATS ON TABLE PROFILES WITH DISTRIBUTION AND
    SAMPLED DETAILED INDEXES ALL"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Tivoli Storage Manager server users.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: See error description.                  *
    ****************************************************************
    * RECOMMENDATION: Apply fixing level when available. This      *
    *                 problem is currently projected to be fixed   *
    *                 in levels 6.1.5.1, 6.1.6, and 6.2.3.         *
    *                 Note that this is subject to change at the   *
    *                 discretion of IBM.                           *
    ****************************************************************
    *
    

Problem conclusion

  • This problem was fixed.
    
    Affected platforms:  AIX, HP-UX, Solaris, Linux and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC76545

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    61L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-23

  • Closed date

    2011-05-25

  • Last modified date

    2011-05-25

  • 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

    TSM SERVER

  • Fixed component ID

    5698ISMSV

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61L PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R62A PSY

       UP

  • R62H PSY

       UP

  • R62L PSY

       UP

  • R62S PSY

       UP

  • R62W PSY

       UP

[{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"61L"}]

Document Information

Modified date:
18 September 2021