IBM Support

IT28405: SQL1585N IN A CERTAIN QUERY AFTER UPGRADING FROM V10.5 TO V11.1M3FP3A

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

  • Some queries may encounter the following error even though a
    32K system temporary table space exists.
    SQL1585N  A temporary table could not be created because there
    is no available system temporary table space that has a
    compatible page size.  SQLSTATE=54048
    SQL1585N occurs in this situation when extended row size support
    is enabled
    (DB configuration parameter EXTENDED_ROW_SZ = ENABLE) and
    the minimum width of a row in a system temporary table space
    will not fit on a 32K page.
    

Local fix

  • Set DB2_REDUCED_OPTIMIZATION="EXT_ROWS_TEMP COST" to avoid the
    problem. This registry variable can be set for individual
    queries using optimization guidelines.
    Alternatively, modify the query to reduce the width of rows that
    need to be stored in a system temporary table.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Databases using the extended rowsize feature.                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to the latest fix pack.                              *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in 11.1.4.6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28405

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-11

  • Closed date

    2021-03-19

  • Last modified date

    2021-03-19

  • 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 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
20 March 2021