DB2 - Problem description
Problem IC84495 | 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 / A10 - 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 10.1 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 10.1 FixPack 1. * **************************************************************** | |
Local Fix: | |
disable intra_parallel db config parameter (which will have performance implications). | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 10.1 FixPack 1. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.06.2012 03.11.2012 03.11.2012 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.1 | |
10.5.0.1 |