Cache stats

OpenKM takes advantage of cached objects for fast retrieving data.

For example the users and roles list, when application is configured to working with LDAP, are cached to reduce the traffic between application and LDAP server.

The associated cached name for LDAP are:

  • com.openkm.cache.ldapPrincipalAdapter.general
  • com.openkm.cache.ldapPrincipalAdapter.name

Also cache can be used to collect data useful to find out configuration parameters changes  needed for better application perfomance. For this purpose the application comes with a cache audit trail.

Cache stats are shown in a table structure:

Cache name

Hits

Misses

Objects

Memory hits

Memory objects

Disc hists

Disc missed

Disc objects

Action

 

FieldDescriptionAudit trail required

Cache name

Unique class name of the cached class.

Not applicable.

Hits

Number of successful queries.

true

Misses

Number of failed queries.

true

Objects

Number of cached objects.

false

Memory hits

Number of successful queries in cache memory.

true

Memory missed

Number of failed queries in cache memory.

true

Memory objects

Number of objects in cache memory.

false

Disc hits

Number of successful queries in cache disk.

true

Disc missed

Number of failed queries in cache disk.

true

Disc objects

Number of objects in cache disk.

false

Action

Clean cached objects.

Not applicable.

Clean all cache

  • On the right top click on  Reset all button.

Refresh cache stats

  • On the top right click on  Refresh icon.

Enable cache stats audit trail

  • On the top right click on  Enable cache audit trial button.

Enables the fields stats:

  • Hits.
  • Misses.
  • Memory Hits.
  • Memory missed.
  • Memory objects.
  • Disc hits.
  • Disc missed.

Disable cache stats audit trail

  • On top right click on  Disable cache audit trial button.

Disable the fields stats:

  • Hits.
  • Misses.
  • Memory Hits.
  • Memory missed.
  • Memory objects.
  • Disc hits.
  • Disc missed.

Clean cache stats audit trail

  • On top right click on  Clear cache audit trial button.

Reset to zero the value of the fields stats:

  • Hits.
  • Misses.
  • Memory Hits.
  • Memory missed.
  • Memory objects.
  • Disc hits.
  • Disc missed.