IBM Support

IT07703: WHEN A DATABASE IS ORACLE COMPATIBLE, A STATEMENT HEAP CAN GROW ENORMOUSLY WHEN A QUERY HAS A LOT OF REFERENCES TO DUAL TABLE.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • This can only happen when Oracle Compatibility is enabled.
    
    When one query uses a lot of DUAL (for instance, with UNION ALL
    clause), compiling that query can drive a statement heap to a
    enormous size.
    

Local fix

  • The workaround is to replace DUAL with SYSIBM.SYSDUMMY1.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 9.7 Fix Pack 11                               *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 9.7 Fix Pack 11
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT07703

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-03-15

  • Closed date

    2017-05-03

  • Last modified date

    2017-10-16

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

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

    IT19568

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT07703

Modified date: 16 October 2017