IBM Support

IT41049: INSERT STATEMENTS WITH USER-DEFINED SQL FUNCTIONS AND VALUES TABLE FUNCTIONS MIGHT SHOW PERFORMANCE ISSUES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as duplicate of another APAR.

Error description

  • Insert statements with user-defined SQL functions and VALUES
    table functions might show performance issues.
    
    Example:
       insert into t1 with temp(col1) as (values ('a'), ('b'), ...)
       select sql_user_function(col1) from temp
    
    Reason:
       After the body of the user-defined function is embedded into
    the internal query, correlation might be introduced.
    
    Workaround:
       Apply the following registry setting using the optimization
    guideline to the affected queries:
    /*<OPTGUIDELINES> <REGISTRY> <OPTION
    NAME='DB2_EXTENDED_OPTIMIZATION'  VALUE='NONDPF_DECORR_OFF'/>
    </REGISTRY> </OPTGUIDELINES> */;
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is a duplicate of IT40080
    

APAR Information

  • APAR number

    IT41049

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B50

  • Status

    CLOSED DUA

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-26

  • Closed date

    2022-05-26

  • Last modified date

    2022-05-26

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

    IT31202

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

Fix information

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5"}]

Document Information

Modified date:
27 May 2022