IBM Support

IY98619: SQL STORED PROCEDURE PERFORMS EXTREMELY SLOW WHEN IT IS INVOKED FROM A REMOTE CLIENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQL stored procedure that uses Declared Global Temporary Tables
    (DGTT) performs very slow when it is invoked from a remote
    client via TCP/IP. When a network trace is taken via operating
    system monitoring utilities, it may be noticed that the stored
    procedure returns one row per packet. Thus, when the stored
    procedure returns a very large resultset, the amount of time to
    return the entire resultset to the remote client is increased
    proportionally. This causes a huge performance degradation.
    .
    This problem was introduced as an unintended side effect for a
    fix included in DB2 V8.1.
    

Local fix

  • Workaround is to drop the procedure, and recreate it with the
    BLOCKING ALL option, AND add the 'FOR READ ONLY' clause on the
    specific cursor within the stored procedure code.
    

Problem summary

  • see problem description
    

Problem conclusion

  • first fixed in DB2 LUW v 910 fixpak 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY98619

  • Reported component name

    DB2 UDB ESE SOL

  • Reported component ID

    5765F4102

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-15

  • Closed date

    2008-07-24

  • Last modified date

    2008-07-24

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

    IY98618

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

Fix information

  • Fixed component name

    DB2 UDB ESE SOL

  • Fixed component ID

    5765F4102

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 July 2008