IBM Support

IT10309: THE UPDATE STATISTICS CAUSES WRONG RESULTS IN THE MULTIPLY-TABLEJOIN OF THE SELECT QUERY WITH MIN() OR MAX() AGGREGATES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The multiply-table join with select query using min() or max()
    aggregates returns wrong result after running UPDATE STATISTICS.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 12.10.xC1 through 12.10.xC5, as well as users of    *
    * 11.70.xC3 through 11.70.xC8.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query may return incorrect results for simple aggregation  *
    * under the following conditions:                              *
    *   - the same table is referenced at least twice with         *
    * different aliases, e.g., tab1 t1, tab1 t2                    *
    *   - the query contains an aggregation on a column from one   *
    * of the instances of the table, e.g. MIN(t1.c1)               *
    *   - the query plan chosen by the optimizer accesses the      *
    * other instance of the table, e.g. t2, using a keyonly index  *
    * access, and via nested-loop join                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IBM Informix Server 12.10.xC6                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IBM Informix Server 12.10.xC6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT10309

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-07-23

  • Closed date

    2015-12-30

  • Last modified date

    2024-11-10

  • 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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 November 2024