DB2 - Problembeschreibung
Problem IC69331 | Status: Geschlossen |
DB2 instance may abend due to stack overflow (instead of dumping SQL0973N) while processing a very large predicate | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 980 - DB2 | |
Problembeschreibung: | |
During SQL/XQuery compilation, a very large and complex predicate in the query being compiled may cause the DB2 instance to abend due to a stack overflow exception. Although new behaviour in DB2 Version 9.5 should ideally cause the DB2 agent to dump an sqlcode SQL0973N upon detecting such a scenario, this may not happen when a very large predicate, e.g., deeply nested series of ORs, etc., is present in the query. The stack trace from such an abend will look something like: sqlnr_in2or_cond_traverse <repeated 60,000 or more times> sqlnr_sinlist2or sqlnr_optprep sqlnr_optprep_action sqlnr_comp Note that the number 60,000 mentioned above is from scenarios observed with default database configuration values. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All Platforms * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 instance may abend due to stack overflow (instead of * * dumping * * SQL0973N) while processing a very large predicate * **************************************************************** * RECOMMENDATION: * * Upgrade to v9.8 Fixpack 4 * **************************************************************** | |
Local-Fix: | |
In DB2 Version 9.5, users have the ability to control the size of the runtime stack used by a DB2 agent. Consequently, increasing the value for the "agent_stack_sz" database configuration parameter will help workaround the issue. | |
verfügbare FixPacks: | |
DB2 Version 9.8 Fix Pack 4 for AIX and Linux | |
Lösung | |
First fixed in v9.8 Fixpack 4 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 18.06.2010 04.08.2011 04.08.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.8.FP4 | |
Problem behoben lt. FixList in der Version | |
9.8.0.4 |