IBM Support

IC88394: QUERY WITH NUMEROUS PARAMETER MARKERS IN AN IN LIST HANGS DURING COMPILATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query that has a very large number of parameter markers in an
    IN LIST may hang during query compilation.
    
    For example:
        select * from T where C1 in (?,?,?,...)
    

Local fix

  • Rewrite the IN LIST to use a subselect:
        select * from T where C1 in ( select cast( val as <type> )
    from ( values ?,?,?,... ) inlist(val)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 fix pack 8                        *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 fix pack 8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88394

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-19

  • Closed date

    2013-04-04

  • Last modified date

    2013-04-04

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

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

    IC91690

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 April 2013