IBM Support

IC78336: CANNOT SET EXCLUDE XML COLUMNS CLAUSE IN STATISTICS PROFILE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When running runstats
    on the command line with the Exclude XML Columns clause, it
    works
    perfectly.  However, when the stats profile is set with that
    clause,
    the stats profile ignores it and stores a runstats command for
    ALL
    columns and ALL indexes.
    
    ex:
    
    RUNSTATS ON TABLE sahana12.test2 with distribution on key
    columns and detailed indexes all excluding xml columns set
    profile
    DB20000I  The RUNSTATS command completed successfully.
    
    select substr(statistics_profile, 1, 150) as statistics_profile
    from syscat.tables where tabname='TEST2'
    
    STATISTICS_PROFILE
    ----------------------------------------------------------------
    ------------------------------------
    
    RUNSTATS ON TABLE "SAHANA12"."TEST2" ON ALL COLUMNS WITH
    DISTRIBUTION ON KEY COLUMNS AND DETAILED INDEXES ALL
    
      1 record(s) selected.
    
    
    In the above we see that external statiscs_profile does not
    contain clause 'EXCLUDING XML COLUMN'.
    This problem is only with external statistics_profile storage,
    however when the command is executed runstats does not collect
    statistics on xml columns when 'excluding xml column' option is
    specified.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * software                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to version v97 fp6                                   *
    ****************************************************************
    

Problem conclusion

  • issue is fixed in v97 fp6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC78336

  • 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-08-26

  • Closed date

    2012-12-04

  • Last modified date

    2012-12-04

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

    LI76075

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

    IC84224

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 #: IC78336

Modified date: 04 December 2012