DB2 - Problem description
Problem IC98438 | Status: Closed |
DYNAMIC STATEMENT NOT FOUND IN STATEMENT CACHE AND RECOMPILED UNNECESSARILY RESULTING IN POOR RUN TIME PERFORMANCE | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - 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 to DB2 Cancun Release 10.5.0.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 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Cancun Release 10.5.0.4 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.12.2013 15.09.2014 15.09.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |