A fix is available
APAR status
Closed as program error.
Error description
When replay-only window avoidance is enabled on a HADR standby, a trap could be encountered during drop of a system temporary table that was created by a query running on the standby and the temporary table was created in a temporary tablespace that is managed by database. A stack similar to the following will be seen <StackTrace> -----FUNC-ADDR---- ------FUNCTION + OFFSET------ 0x00007F1632B48CA6 _Z25ossDumpStackTraceInternalmR11OSSTrapFileiP7siginfoPvmm + 0x0356 (/udb/home/udbxinsp/sqllib/lib64/libdb2osse.so.1) 0x00007F1632B488EB ossDumpStackTraceV98 + 0x002b (/udb/home/udbxinsp/sqllib/lib64/libdb2osse.so.1) 0x00007F1632B44AD7 _ZN11OSSTrapFile6dumpExEmiP7siginfoPvm + 0x00d7 (/udb/home/udbxinsp/sqllib/lib64/libdb2osse.so.1) 0x00007F163A3AC5E7 sqlo_trce + 0x03c7 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F163A51863B sqloEDUCodeTrapHandler + 0x03cb (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F16420B3630 address: 0x00007F16420B3630 ; dladdress: 0x00007F16420A4000 ; offset in lib: 0x000000000000F630 ; (/lib64/libpthread.so.0) 0x00007F163A7A5F00 _Z7sqlplrlP9sqeBsuEduP14SQLP_LOCK_INFOm + 0x02f0 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F1635263D56 _Z11sqldDropObjP8sqeAgentP12SQLB_GLOBALSP8SQLD_TCBP16SQLB_OBJECT _DESCi + 0x05f6 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F1635262BE5 _Z13sqldDropTableP8sqeAgentP12SQLB_GLOBALSP8SQLD_TCBi + 0x06c5 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F1634DD44B3 _Z26sqlbPFPrefetcherEntryPointP16sqbPrefetcherEdu + 0x1023 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F1634DD3404 _ZN16sqbPrefetcherEdu6RunEDUEv + 0x0024 (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F163BFEFEEE _ZN9sqzEDUObj9EDUDriverEv + 0x01be (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F163A515B1A sqloEDUEntry + 0x057a (/udb/home/udbxinsp/sqllib/lib64/libdb2e.so.1) 0x00007F16420ABEA5 address: 0x00007F16420ABEA5 ; dladdress: 0x00007F16420A4000 ; offset in lib: 0x0000000000007EA5 ; (/lib64/libpthread.so.0) 0x00007F1631B508DD clone + 0x006d (/lib64/libc.so.6)
Local fix
Workaround : The problem occurs when avoid replay only window is enabled, a read on standby query creates a temporary table and the temporary tablespace used for the temp table is managed by database. Customer can check that they are using database managed temporary tablespaces by running "db2 list tablespaces" Two options to get around the issue db2set DB2_HADR_ROS_AVOID_REPLAY_ONLY_WINDOW=OFF OR create system temporary tablespace as managed by system
Problem summary
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to 11.1.4.7 * ****************************************************************
Problem conclusion
Upgrade to 11.1.4.7
Temporary fix
See local fix
Comments
APAR Information
APAR number
IT36524
Reported component name
DB2 FOR LUW
Reported component ID
DB2FORLUW
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-04-09
Closed date
2022-04-17
Last modified date
2022-04-17
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 FOR LUW
Fixed component ID
DB2FORLUW
Applicable component levels
RB10 PSN
UP
[{"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":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
03 May 2022