Fixes are available
APAR status
Closed as program error.
Error description
In certain environment, cost for fetching massive rows from remote server is over-cost, while execution of a remote statement multi-times is under-cost. As a result, IFS chooses a NLJN which fetches remote data for multi-times, instead of choosing the HSJN which fetches all data of a remote table at one time, and the performance could be bad with the NLJN.
Local fix
Use plan hints, explicit selectivity, stats views to force the HSJN plan.
Problem summary
Problem Desciption: SERVER OPTIONS NEED TO BE ADDED TO ADJUST COST ESTIMATION FOR FETCHING DATA FROM REMOTE SERVER IN CERTAIN ENVIRONMENT Problem Summary: In certain environment, cost for fetching massive rows from remote server is over-cost, while execution of a remote statement multi-times is under-cost. As a result, IFS chooses a NLJN which fetches remote data for multi-times, instead of choosing the HSJN which fetches all data of a remote table at one time, and the performance could be bad with the NLJN.
Problem conclusion
Problem is first fixed in Version 9.1 Fix Pack 10
Temporary fix
Use plan hints, explicit selectivity, stats views to force the HSJN plan.
Comments
APAR Information
APAR number
IZ83239
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
2010-08-20
Closed date
2011-06-13
Last modified date
2011-06-13
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
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910"}]
Document Information
Modified date:
06 October 2021