IC87837: DB2 QUERY COMPILER CAN TRAP WHEN STMTHEAP is AUTOMATIC AND MEMORY is CONSTRAINED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as duplicate of another APAR.

Error description

  • When STMTHEAP is automatic and memory is constrained, a memory
    allocation request to STMTHEAP can fail; but the next allocation
    request can succeed. The query compiler can fail to handle such
    a situation. When the problem is encountered, you can observe
    traps.
    
    An example trap is below
    
    sqlno_greedy_resume_part
    sqlno_greedy_next_part
    sqlno_crule_join
    sqlno_gen_partitions_for_QTB
    sqlno_plan_end_opr
    sqlno_each_opr
    sqlno_walk_qun
    sqlno_each_opr
    

Local fix

  • The following can help to reduce the possibility of encountering
    the problem:
    
    1) set STMTHEAP to a fixed value
    2) allow room for STMTHEAP to grow by increasing APPL_MEMORY and
    INSTANCE_MEMORY
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is a duplicate of IC83237
    

APAR Information

  • APAR number

    IC87837

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED DUB

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-04

  • Closed date

    2012-11-17

  • Last modified date

    2012-11-17

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

    IC82716

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

Fix information

Applicable component levels



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC87837

Modified date:

2012-11-17

Translate my page

Machine Translation

Content navigation