IBM Support

IT39679: QUERY CHOOSES DIFFERENT PATH WHEN DATE RANGE IS CHANGED AND NEVER COMPLETES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Query chooses different path when only date range for one of
    the column is changed.
    
    Query which performs faster has below in the where clause
    <<<<<<<<<
    PAYMENT_DATE BETWEEN '01/01/2021' AND '01/31/2021'
    <<<<<<<<<<
    If the above is changed to below range the query never completes
    <<<<<<<<
    PAYMENT_DATE BETWEEN '01/01/2021' AND '01/01/2022'
    <<<<<<<<<
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users have iDS version 14.10.xC3 or prior                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Query chooses different path when date range is changed and  *
    * never completes                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • After using OPT_SEEK_FACTOR=0, the query finished in 15 minutes
    and customer is fine with it
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT39679

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-01-18

  • Closed date

    2023-02-02

  • Last modified date

    2024-09-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

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

Document Information

Modified date:
25 September 2024