DB2 - Problembeschreibung
Problem IC95479 | Status: Geschlossen |
INSTANCE MIGHT CRASH IF A QUERY THAT FEATURES A SORT IS RE-EXECUTED AFTER IT PREVIOUSY RECEIVED SQL0973. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problembeschreibung: | |
An SQL might cause instance crash at sqlrifis2. An example stack trace might be like below: sqlrifis2 sqlifnxt sqlirdk sqldIndexFetch sqldRowFetch This problem can happen if all the following conditions are met: a) SORT memory is low b) The query is run and it fails with sql0973 due to lack of sort memory. Users can see the out of memory error in the db2diag.log as below: 2013-05-14-14.38.00.377730 I484339A914 LEVEL: Warning PID : 7865 TID : 4394300991760 PROC : db2sysc INSTANCE: db2inst1 NODE : 000 DB : SAMPLE APPHDL : 0-11465 APPID: 192.168.1.1.2080.130514051704 AUTHID : DB2INST1 HOSTNAME: host01 EDUID : 713 EDUNAME: db2agent (SAMPLE) FUNCTION: DB2 UDB, SQO Memory Management, sqloCreateMemorySubPool, probe:130 MESSAGE : ZRC=0x8B0F0012=-1961951214=SQLO_NOMEM_SHARED_SORT "No memory available in 'Shared Sort Heap'" DIA8300C A memory heap error has occurred. DATA #1 : String, 52 bytes Unable to allocate memory for the initial pool size. c) The same query is run again soon after (while it is still cached in the SQL workspace). The problem is most likely to be seen for a query with an access plan that contains a RIDSCAN over SORT. The typical example here would be a plan that has something like this (example exfmt output): RIDSCN ( 14) 319827 1 | 3000 SORT ( 15) 319827 1 | 3000 IXSCAN ( 16) 10.0149 1 However, the problem is not limited to just plans like the above. Any SORT that is "simple", like a RID sort as above, or a sort of just an integer column, has a chance to encounter the issue. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users who run SQL involves simple sorts. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please upgrade to V10.5 Fixpack 4 or later. * **************************************************************** | |
Local-Fix: | |
Investigate the memory usage and configuration, and then take corrective tuning measures to avoid the memory limitations that lead to the problematic scenario. | |
verfügbare FixPacks: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Lösung | |
This problem was first fixed in DB2 V10.5 Fixpack 4. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 27.08.2013 08.09.2014 08.09.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.5.0.4 |