Fixes are available
DB2 Version 9.1 Fix Pack 7 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 5 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 6 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 6a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 8 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 9 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 10 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12 for Linux, UNIX and Windows
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:
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
Document Information
Modified date:
24 July 2008