A fix is available
APAR status
Closed as program error.
Error description
A REORG with INLINE STATISTICS is executed on a PBG tablespace in a Db2 v13 subsystem with ZPARM STATPGSAMP=SYSTEM . During REORG process a PBG partition is added (DSNU2910I) and statistics are collected using page sampling (DSNU1374I). After REORG completion the user finds that REORG has reset CARDF in SYSIBM.SYSTABLES to a value of zero.
Local fix
BYPASS/CIRCUMVENTION: Set ZPARM STATPGSAMP=NO
Problem summary
**************************************************************** * USERS AFFECTED: All Db2 13 for z/OS users of REORG * * TABLESPACE or LOAD REPLACE STATISTICS * * utility with page sampling active on * * PBG table space * **************************************************************** * PROBLEM DESCRIPTION: Incorrect catalog statistics updated * * by a REORG TABLESPACE STATISTICS * * utility execution on a PBG table * * space with page sampling active after * * PBG growth in the RELOAD phase * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available * **************************************************************** User ran a REORG TABLESPACE STATISTICS against a partition-by-growth table space, which utilized page sampling to collect the catalog statistics. A new PBG partition was grown during the RELOAD phase of REORG, and it was noticed that the catalog statistics used for access path selection was updated with incorrect values, including a value of 0 for the CARDF column in SYSTABLES despite many records were reloaded. The reported problem was caused by incorrect program logic in REORG for determining whether page sampling is being used or not after PBG growth has happened during the RELOAD phase. A similar problem can happen for LOAD REPLACE STATISTICS after PBG growth in the RELOAD phase with page sampling active. Additional keywords: - TABLESAMPLE SYSTEM STATPGSAMP - DSNU2910I MSGDSNU2910I
Problem conclusion
Code has been modified to correct the catalog statistics gathered in the aforementioned LOAD and REORG scenarios involving page sampling and PBG growth.
Temporary fix
Comments
APAR Information
APAR number
PH60916
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-04-16
Closed date
2024-06-06
Last modified date
2024-07-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI97203
Modules/Macros
DSNURWIR
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RD10 PSY UI97203
UP24/06/14 P F406
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.
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 July 2024