IBM Support

IT01420: "UPDATE STATISTICS" COMMAND DOES NOT UPDATE STATISTICS FOR PROCEDURES AS STATED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • Documentation says:
    
    http://pic.dhe.ibm.com/infocenter/idshelp/v117/topic/com.ibm.sql
    s.doc/ids_sqs_1279.htm
    The scope of UPDATE STATISTICS is restricted by whatever tables,
    columns, or SPL routines follow the FOR TABLE keywords or the
    FOR PROCEDURE keywords.
    
        If you include no FOR PROCEDURE specification, no Table and
    Column Scope clause, and no Resolution clause, then statistics
    are updated for every table and SPL routine in the current
    database, including the system catalog tables.
    
    Essentially, this says running UPDATE STATISTICS will update
    statistics for all tables and procedures but it does not update
    the procedures.
    

Local fix

  • You must run UPDATE STATISTICS FOR PROCEDURE to update
    statistics for procedures.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Informix 11.70, 12.10                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * See Problem Conclusion                                       *
    ****************************************************************
    

Problem conclusion

  • Running the UPDATE STATISTICS statement without any other
    keywords updates only the statistics of permanent tables; SPL
    routines are not reoptimized. To reoptimize SPL routines, run
    the UPDATE STATISTICS FOR PROCEDURE statement.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT01420

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-04-30

  • Closed date

    2017-06-09

  • Last modified date

    2024-09-24

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B70","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 September 2024