IBM Support

IT33391: UDR EXPRESSION AGAINST IN CLAUSE WOULD EVALUATE/EXECUTE THE UDR FOR EVERY ELEMENT IN THE IN CLAUSE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • Given a condition of the form
    
     "function_name(column) IN (list_of_values)"
    
    the server would execute the function expressions once for each
    of the list values, rather than evaluating this expression once
    only and comparing the result against all list values.
    Consequences would be longer query duration, higher cpu
    consumption and, possibly, higher memory demand.
    
    This behavior occurs regardless of the function being defined as
    NOT VARIANT, one reason being that the IN clause gets re-written
    as a series of OR clauses.
    

Local fix

  • Problem was observed with a UDR returning lvarchar
    -> changing this into varchar(255) was possible and avoided the
    problem.
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • Defect will be addressed in future releases.
    

APAR Information

  • APAR number

    IT33391

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-01

  • Closed date

    2022-10-31

  • Last modified date

    2022-10-31

  • 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":"C10"}]

Document Information

Modified date:
31 October 2022