DB2 - Problem description
| Problem IC81715 | Status: Closed |
IN RARE TIMING SCENARIOS WHEN INTRA_PARALLEL ENABLED, A SORT OPERATION THAT SPILLS MAY FAIL WITH SQLSMERGEREC, PROBE:2050. | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problem description: | |
When the intra_parallel db config parameter is enabled, in some
rare race-condition timing scenarios a sort operation that
spills to a temp table may fail with the following db2diag.log
entry:
2012-02-10-10.52.57.057464+540 I1600A594 LEVEL: Severe
PID : 15925410 TID : 12737 PROC : db2sysc
0
INSTANCE: db2pd1 NODE : 000 DB : TRX_DB
APPHDL : 0-3042 APPID:
172.16.1.42.53440.120209145057
AUTHID : DB2PD1
EDUID : 12737 EDUNAME: db2agntp (TRX_DB) 0
FUNCTION: DB2 UDB, sort/list services, sqlsmergerec, probe:2050
MESSAGE : Creating Temporary Table for sort spill, but one
already exists.
Aborting sort operation. Contact IBM Support.
slestatus = 10c10,
poolID = 1, objectID = 3
The associated trap file has a stack trace as below
...
sqlswrit
@103@sqlsBuildRow
sqlsinsr
sqlsinsr
sqlrsinsr
sqlrisr2
@147@sqliScanLeaf2NoLocking
sqlifnxt
.sqlirdk.fdpr.clone.1651
.sqldIndexFetch.fdpr.clone.73
sqldRowFetch
sqlritaSimplePerm
sqlriSectInvoke
sqlrr_smp_router
sqlrr_subagent_router
sqleSubRequestRouter
sqleProcessSubRequest
RunEDU
EDUDriver
sqlzRunEDU
sqloEDUEntry
... | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 UDB Version 9.7 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 FixPack 6. * **************************************************************** | |
| Local Fix: | |
disable intra_parallel db config parameter (which will have performance implications). | |
| available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
| Solution | |
Problem was first fixed in DB2 UDB Version 9.7 FixPack 6. | |
| Workaround | |
not known / see Local fix | |
| BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84495 follow-up : | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 29.02.2012 06.06.2012 06.06.2012 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.6 |
|