A fix is available
APAR status
Closed as program error.
Error description
When a SQL statement (like the one below) uses NR (Range-List Index Scan) as accesstype, SQLPA Explain does not provide the Statistics for the Index used on that accesstype or info about the access path used (as it does when other accesstype is used on the SQL statement explained). SELECT * FROM SYSIBM.SYSTABLES TB LEFT JOIN SYSIBM.SYSCOLDIST CD ON TB.CREATOR = CD.TBOWNER AND TB.NAME = CD.TBNAME WHERE TB.DBID = ? AND TB.OBID = ? OR TB.DBID = ? AND TB.OBID = ? ;
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 SQL Performance Analayzer. * **************************************************************** * PROBLEM DESCRIPTION: When a SQL statement (like the one * * below) uses NR (Range-List Index Scan) * * as accesstype, SQLPA Explain does not * * provide the Statistics for the Index * * used on that accesstype or info about * * the access path used (as it does when * * other accesstype is used on the SQL * * statement explained). * * SELECT * * * FROM SYSIBM.SYSTABLES TB * * LEFT JOIN SYSIBM.SYSCOLDIST CD * * ON TB.CREATOR = CD.TBOWNER * * AND TB.NAME = CD.TBNAME * * WHERE TB.DBID = ? AND TB.OBID = ? * * OR TB.DBID = ? AND TB.OBID = ? * * ; * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** Code has been changed to correct this condition.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PI20261
Reported component name
DB2 SQL PERF AN
Reported component ID
5697F5701
Reported release
410
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2014-06-17
Closed date
2014-10-28
Last modified date
2014-12-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI22571 UI22572
Modules/Macros
ANLPRCC ANLPRCR ANLPREC ANLPRER ANLQMF ANLSQLPA ANLTSO
Fix information
Fixed component name
DB2 SQL PERF AN
Fixed component ID
5697F5701
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1.0"}]
Document Information
Modified date:
31 March 2021