IBM Support

IC72113: OPTIMIZER CHOOSES INAPPROPRIATE KEY-FIRST SCAN WHEN JOIN INCLUDES SMALL TEMP TABLE ON A VERY SIMPLE SELECT STATEMENT

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

  • When joining a small temp table with a regular table, the
    optimizer chooses a key-first scan which is more costly
    resulting in a much longer run time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All 11.50 users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a query joins a table with explicit "rowid" reference,  *
    * such as tab1.col = tab2.rowid, the optimizer may choose      *
    * sub-optimal query plan.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.50.xC9.                                        *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed in 11.50.xC9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC72113

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-21

  • Closed date

    2011-09-27

  • Last modified date

    2011-09-27

  • 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

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 September 2011