IC86822: OPTIMIZER PREFERS INDEX PATH OVER SKIP SCAN WHICH RESULTS IN LONGER EXECUTION TIME

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

  • It may take up to several hours to execute the query with index
    path which optimizer chooses by default while with MULTI_INDEX
    directive the same query can be executed in less than a minute.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All 11.70 users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query involving predicates in the form of "date(col) op    *
    * <value>",  may have sub-optimal query plan and bad           *
    * performance under the following conditions:                  *
    *   - op is one of "=", ">", "<", ">=", "<="                   *
    *   - col is of DATE type, or DATETIME type with at least YEAR *
    * TO DAY component (can have more components, e.g., YEAR TO    *
    * SECOND)                                                      *
    *   - an index may exist with "col" as one of the index key    *
    * columns. If it does, the predicate in the above form is      *
    * currently not able to utilize the index                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC7                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC86822

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-25

  • Closed date

    2014-02-26

  • Last modified date

    2014-02-26

  • 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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Informix Servers

Software version:

B50

Reference #:

IC86822

Modified date:

2014-02-26

Translate my page

Machine Translation

Content navigation