DB2 - Problem description
Problem IC97333 | Status: Closed |
DYNAMIC STATEMENT NOT FOUND IN STATEMENT CACHE AND RECOMPILED UNNECESSARILY RESULTING IN POOR RUN TIME PERFORMANCE | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
Under certain circumstances a dynamic SQL statement may be re-compiled even though there exists a matching entry in the statement cache. This may happen if all the following are true: 1. The SQL statement references one or more inlined SQL function 2. The inlined SQL function also references one or more inlined SQL functions, i.e. nested inlined SQL functions 3. The user invoking the SQL statement does not hold DATAACCESS authority 4. The user invoking the SQL statement does not hold EXECUTE privilege on one or more of the nested inlined SQL functions Even if all the above are true, the complexity of the SQL statement determines if the problem occurs. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade the database server to V10.1 Fix Pack 4 * **************************************************************** | |
Local Fix: | |
Grant EXECUTE privilege on all nested inlined SQL functions or give DATAACCESS authority to the user invoking the SQL statement. | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
This problem has first been fixed in v10.1 Fix Pack 4 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC98438 IT04787 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 31.10.2013 26.06.2014 26.06.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.4 |