June 2018
Intermediate to advanced
478 pages
10h 52m
English
This utility provides database administrators with the ability to invalidate all cached dynamic SQL statements in the packages cache. The invalidation of a cached dynamic SQL statement package has no effect on currently executing SQL statements. However, any new requests for the statement associated with the invalidated package will cause the DB2 optimizer to reprocess the statement, which in turn will dynamically prepare and compile a new cached package.
The basic syntax for the FLUSH PACKAGE CACHE statement is this:
FLUSH PACKAGE CACHE DYNAMIC
Read now
Unlock full access