suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT36525 Status: Closed

TRAP IN FUNCTION SQLPLRL WHEN DROPPING A SYSTEM TEMPORARY TABLE CREATED BY
A QUERY RUNNING ON A HADR STANDBY

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem 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





-----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)
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to 11.5.6 or later                                   *
****************************************************************
Local Fix:
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
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to 11.5.6 or later                                   *
****************************************************************
Comment
Upgrade to 11.5.6 or later
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.04.2021
21.06.2021
21.06.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)