IBM Support

IT02615: SELECT WITH SUBSTRING CAN GENERATE BAD QUERY PLAN WITH FILTER WITH SUBSTRING IS IN CLAUSE WITH SUBSELECT

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

  • A select statement with a substring can generate a bad query
    plan with filter with substring in in clause with subselect.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 11.70.xC1 through 11.70.xC9.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query may use sub-optimal execution path under the         *
    * following conditions:                                        *
    *   - there exists a non-correlated subquery as filter, e.g.,  *
    * "col IN <subquery>" or "col = ANY <subquery>"                *
    *   - a subscripted column is used in the subquery predicate,  *
    * e.g. "col[1,4] IN <subquery>" or "col[1,4] = ANY <subquery>" *
    *   - for the column referenced (col), when subscripted, the   *
    * number of unique values for the subscripted column is        *
    * significantly less than the number of unique values for the  *
    * whole column (e.g., many rows have common prefixes)          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC9                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT02615

  • 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

    2014-06-17

  • 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



Document information

More support for: Informix Servers

Software version: B70

Reference #: IT02615

Modified date: 09 June 2017


Translate this page: