IBM Support

IC98433: OPTIMIZER CHOOSED SEQUENTIAL SCAN FOR QUERY WITH LVARCHAR, WITH VARCHAR OPTIMIZER CHOOSES INDEX PATH

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

  • The optimizer will choose a sequential scan for a query
    containing an LVARCHAR data type.  The optimizer chooses an
    index path for the same query with a VARCHAR data type.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All 11.70 users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query may have sub-optimal query plan under the following  *
    * conditions:                                                  *
    *   - query has an equality predicate on LVARCHAR column, e.g. *
    * col1 = "abcd" where col1 is defined as LVARCHAR              *
    *   - there exists an index with col1 as the leading index     *
    * column                                                       *
    *   - update statistics has been run on the table              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC9                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC98433

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-12-19

  • Closed date

    2017-06-09

  • Last modified date

    2017-06-09

  • 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

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

Document Information

Modified date:
09 June 2017