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 IT04787 Status: Closed

DYNAMIC STATEMENT NOT FOUND IN STATEMENT CACHE AND RECOMPILED UNNECESSARILY
RESULTING IN POOR RUN TIME PERFORMANCE

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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 v9.7 FP11 or higher                           * 
****************************************************************
Local Fix:
Grant EXECUTE privilege on all nested inlined SQL functions or 
give DATAACCESS authority to the user invoking the SQL 
statement.
Solution
Fixed in DB2 v9.7 FP11
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.10.2014
07.10.2015
07.10.2015
Problem solved at the following versions (IBM BugInfos)
9.7.FP11
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.11 FixList