IBM Support

IT30618: SQEXPLAIN QUERY STATISTICS LESS THAN HELPFUL AND INCORRECT WITH RE-EXECUTED PREPARED STATEMENTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Turning on and evaluating 'explain' output (query plans and
    execution stats) for a job or application re-executing multiple
    prepared statements can be tedious and confusing:
     - query text and plan printed once only per statement, at
    optimization time
     - re-executing prepared statements only printing new host
    variables
       and execution stats, without reference to what query this is
     - execution stats not being reset at re-execution of a
    statement,
       so values like rows_prod, rows_scan would keep growing and
       correctly reflect an execution only on first execution
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC11. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 or 14.10.xC11 (when    *
    * available).                                                  *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC11.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT30618

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-16

  • Closed date

    2023-05-18

  • Last modified date

    2023-05-18

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

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":"C10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
18 May 2023