IBM Support

IC70291: A QUERY RETURNS INCORRECT RESULT AFTER UPDATE STATISTICS MEDIUM IS RAN.

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 query returns only one row after update statistics medium is
    ran. It is an incorrect result as multiple rows should be
    returned. This problem does not appear when the query is
    executed just after loading data into a table and running update
    statistics low.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All 11.50 users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query using index self-join may return wrong result under  *
    * the following conditions:                                    *
    *   - a composite index is used                                *
    *   - the asending/descending nature of the last index key     *
    * used in the index scan is different than the last index      *
    * self-join key                                                *
    *      for example, given an index on (c1, c2 desc), if an     *
    * index self-join path is chosen on this index with (c1) as    *
    * index self-join key,                                         *
    *      then it satisfy this condition since c1 (last index     *
    * self-join key) is ascending, but c2 (last index key used) is *
    * descending                                                   *
    *   - a range predicate exists on the last index self-join key *
    * (e.g., c1 > 100)                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.50.xC8.                                        *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed in 11.50.xC8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC70291

  • 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-07-29

  • Closed date

    2011-01-20

  • Last modified date

    2011-01-20

  • 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":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 January 2011