IBM Support

JR31183: DB2 SERVER MAY ABEND DURING COMPILATION OF SQL STATEMENT CONTAINING CERTAIN PREDICATES WHEN AUTO_STMT_STATS IS ENABLED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ERROR DESCRIPTION :
    
    The DB2 server could unexpectedly terminate with the following
    call stack during the compilation of a statement
    that contains one or more predicates in a WHERE clause that use
    the TRANSLATE, UCASE, UPPER, LCASE, or LOWER functions:
    
    sqlno_ff_analyse_func_expr__FP13sqlno_globalsP19sqlno_ff_essenti
    als
    sqlno_ff_compute_atomprd__FP13sqlno_globalsP19sqlno_ff_essential
    s
    sqlno_ff_compute__FP13sqlno_globalsP19sqlno_ff_essentialsP16
    sqlno_int_stats_scan__FP13sqlno_globals13SQLNN_BOOLEANl + 0x650
    sqlno_jits_sa__FP13sqlno_globals + 0x1E8
    sqlno_exe__FP9sqlnq_qur + 0x1460
    
    
    For example:
    
      WHERE  TRANSLATE(col) = 'AA' ...
    
    
    The problem may only occur if the predicate is applied to a
    derived query block and the AUTO_STMT_STATS database
    configuration parameter is turned on.
    

Local fix

  • LOCAL FIX :
    Turn off the AUTO_STMT_STATS database configuration parameter
    

Problem summary

  • DB2 SERVER MAY ABEND DURING COMPILATION OF SQL STATEMENT
    CONTAINING CERTAIN PREDICATES WHEN AUTO_STMT_STATS IS ENABLED
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.5, FixPak 4
    

Temporary fix

  • Turn off the AUTO_STMT_STATS database configuration parameter
    

Comments

APAR Information

  • APAR number

    JR31183

  • Reported component name

    DB2 UDB WSE WIN

  • Reported component ID

    5765F3501

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-20

  • Closed date

    2009-05-29

  • Last modified date

    2009-05-29

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

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

Fix information

  • Fixed component name

    DB2 UDB WSE WIN

  • Fixed component ID

    5765F3501

Applicable component levels

  • R950 PSY

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

Document Information

Modified date:
29 May 2009