DB2 - Problem description
Problem IC71276 | Status: Closed |
AN OPERATION REQUIRING A SORT THAT EXPERIENCES INSUFFICIENT MEMORY SCENARIO MAY TRAP. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 910 - DB2 | |
Problem description: | |
When Sort is using INCREMENTAL memory allocation (this is default for most sorts), and sort is not able to allocate enough memory for binsort structures to perform binsort on all records that were cached before spilling, then sort will perform the binsort on smaller chunks of records. In this scenario, sort will also check if each of the sorted chunks is already is sorted order. The method used to perform this check may cause a trap. We believe the problem is not pervasive. Symptom of this trap may differ slightly at the top of the stack, but will always contain sqlsBinSortIncremental()->sqlsCheckFSEQAcrossSpills()->sqlsInser tCompare(). sqlv_bin_ncmp sqlsInsertCompare sqlsCheckFSEQAcrossSpills sqlsBinSortIncremental sqlsBuildRow sqlsinsr sqldReorgSortRow sqldEvalDataPred sqldReadNorm sqldFetchNext sqldFetchNext sqldfrd sqldReorgTableScanSort | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * When Sort is using INCREMENTAL memory allocation (this is * * * * default for most sorts), and sort is not able to allocate * * enough * * memory for binsort structures to perform binsort on all * * records * * that were cached before spilling, then sort will perform the * * * * binsort on smaller chunks of records. In this scenario, sort * * * * will also check if each of the sorted chunks is already is * * * * sorted order. The method used to perform this check may * * cause a * * trap. * * * * We believe the problem is not pervasive. * * * * Symptom of this trap may differ slightly at the top of the * * * * stack, but will always contain * * * * sqlsBinSortIncremental()->sqlsCheckFSEQAcrossSpills()->sqlsIns * tCompare(). * * * * * * * * sqlv_bin_ncmp * * * * sqlsInsertCompare * * * * sqlsCheckFSEQAcrossSpills * * * * sqlsBinSortIncremental * * * * sqlsBuildRow * * * * sqlsinsr * * * * sqldReorgSortRow * * * * sqldEvalDataPred * * * * sqldReadNorm * * * * sqldFetchNext * * * * sqldFetchNext * * * * sqldfrd * * * * sqldReorgTableScanSort * **************************************************************** * RECOMMENDATION: * * Upgrade to V9.1 FP10 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.1 Fix Pack 10 for Linux, UNIX and Windows | |
Solution | |
First fixed in V9.1 FP10 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.09.2010 10.06.2011 10.06.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.1.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.1.0.10 |