home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 10.5 Fix Pack 9 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 FixList