Chat now with support
Chat with Support

Spotlight on DB2 6.10 - User Guide

Spotlight on IBM DB2 LUW (Linux, Unix, and Windows)
New in This Release Getting started with Spotlight on IBM DB2 LUW Desktop features specific to Spotlight on IBM DB2 LUW Spotlight on IBM DB2 LUW drilldowns
About Spotlight on IBM DB2 LUW drilldowns Buffer Pool Analysis drilldown Client Application Analysis drilldown Database Analysis drilldown Database Manager Summary drilldown Diagnostic Log drilldown FCM Analysis drilldown Tablespace Analysis drilldown Top SQL drilldown Operating System drilldown Workload Management Analysis drilldown
Spotlight on IBM DB2 LUW alarms Spotlight on IBM DB2 LUW Options Tuning SQL statements in Spotlight on IBM DB2 LUW
Spotlight Basics
Spotlight Connections Monitor Spotlight Connections Alarms Charts, Grids And Home Page Components View | Options Troubleshooting
Spotlight History Spotlight on Windows
Connect to Windows Systems Background Information Home Page Alarms Drilldowns View | Options Troubleshooting
Spotlight on Unix About us Third-party contributions Copyright

Package Cache graph

If the overall package cache hit rate for the database is low, this graph tells you whether the selected application is contributing to the problem.

About package cache

Package cache is memory that temporarily stores package and section information required for the execution of static and dynamic SQL statements in the database. Caching packages allows the database manager to reduce its internal overhead by eliminating the need to access the system catalog when reloading a package. Likewise, caching dynamic SQL information eliminates the need to compile the statement. In general, caching the section for a static or dynamic SQL statement can improve performance, especially when the same statement is used multiple times by the application.

Sections are held in package cache until one of the following occurs:

  • The database is shut down

  • The package or dynamic SQL statement is invalidated

  • The cache runs out of space

The graph

The Package Cache graph contains a single series, Hit rate, which plots the percentage of package cache lookups at the application level that were satisfied by data already residing in the package cache. If this hit rate is high, the cache is performing effectively for the application. A smaller ratio indicates that the application is performing more reads directly from the system catalog than from the package cache and might therefore be contributing to the overall low hit rate for the database.

The graph title area shows the number of package cache inserts and lookups that occurred for the application during the last monitoring interval.

For related statistical information

The Statistics tab contains entries for all package cache statistical counts used to generate this graph. The names for these statistics begin with Package Cache. These statistics are derived from the PKG_CACHE data elements that the DB2 snapshot monitor captures at the application level.


Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating