IBM Support

IT31974: Comparing VARCHAR column with INTEGER perform Sequential scan leading delay

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • When user have a varchar column with only numeric values and
    index over same colomn. Obtimizer only uses the index if the
    datatype of the value in where clause is varchar or char.
    If compared with number leads to a seqential scan.
    Colomn and number greater/smaller/smaller equals/larger equals
    are compared isssue is not reproduced. Colomn and number are
    compared id equal, Sequential scan is used.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • Working as per designed
    

APAR Information

  • APAR number

    IT31974

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-25

  • Closed date

    2022-10-10

  • Last modified date

    2022-10-10

  • 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":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10"}]

Document Information

Modified date:
10 October 2022