Confluence Docs 3.3 : Cache Statistics
This page last changed on Dec 17, 2009 by ggaskell.
Confluence provides statistics about its internal caches that allow you to track the size and hit ratio of each cache and tune it for better performance (if necessary). See Performance Tuning for more information. Configurable CachesSystem administrators can change the sizes of Confluence's internal caches through the Administration Console and these changes will take effect without the need to first shut down and then restart Confluence. The maximum number of units for any of the defined cache regions can be adjusted individually. Note that larger cache sizes will require more memory at runtime, so you should review the memory allocation of the Confluence Java process and the physical memory available on your server. Viewing Cache Statistics and Modifying Cache SizesTo view the cache statistics:
About the generated numbers:
For instance, to calculate Percent Used: Percent Used = Objects / Size Percent Used = 4023/5000 = 80% To calculate Effectiveness: Effectiveness = (Hits)/(Hits + Misses) Effectiveness = 374550 / (374550 + 140460) = 73%
Watching the Cache ContentsTo see the specific items in the caches, view the cache statistics at <baseUrl>/admin/cachecontents.jsp. Additional Notes about Configurable CachesChanges to cache size configurations persist across confluence restarts as they are saved in the <confluence-home>/config/confluence-coherence-cache-config.xml file (or <confluence-home>/config/confluence-coherence-cache-config-clustered.xml for a clustered instance). In most cases, a Confluence administrator will never need to know about these files. However, if it is necessary to tune cache options other than the maximum cache size, this can be done by manually editing these files. See Cache Performance Tuning for details.
Performance TuningIf you need to tune your application when under high usage, you may like to review this document for suggestions. RELATED TOPICS |
![]() |
Document generated by Confluence on Jul 09, 2010 01:08 |