DB2 - Problem description
Problem IT23966 | Status: Closed |
bad performance when replaying TLOGPREP_XA log records | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
Rollforward, as well as Crash Recovery and Log replay may run slowly when replaying TLOGPREP_XA log records - TLOGPREP_XA is a log record generated when XA transactions are used. The stack of db2redom EDU shows it is running in sqlprWaitForRedoWorkersToFinish most of the time: sqlprWaitDuringPRec__FP8sqeAgentP16SQLO_EDUWAITPOST + 0x118 sqlprWaitForRedoWorkersToFinish__FP8sqeAgentP10SQLPR_PRCB + 0x338 sqlpPRecReadLog__FP8sqeAgentP8SQLP_ACBP14sqlpMasterDbcb + 0x5084 "db2pd -db -dpsprcb" output shows there are many db blocking log records: $ grep lrecStat.numDbBlocking dpsprcb.out.* dpsprcb.out.1: lrecStat.numDbBlocking = 12258 dpsprcb.out.2: lrecStat.numDbBlocking = 46939 dpsprcb.out.3: lrecStat.numDbBlocking = 71293 dpsprcb.out.4: lrecStat.numDbBlocking = 98727 dpsprcb.out.5: lrecStat.numDbBlocking = 122502 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * N/A * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 V10.5 FP10 or later. * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.02.2018 11.07.2018 11.07.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |