System metrics monitoring

The database exposes a lot of metrics that help to tune the memory parameters and performance. They can be found in the JMX console under the com.ontotext.metrics package. The global metrics that are shared between the repositories are under the top level package and those specific to repositories - under com.ontotext.metrics.<repository-id>.

_images/jmx-metrics.png

Page cache metrics

The global page cache provides metrics that help to tune the amount of memory given for the page cache.

cache.flush

A timer for the pages that are evicted out of the page and the amount of time it takes for them to be flushed on the disc.

cache.hit

Number of hits in the cache. This can be viewed as the number of pages that do not need to be read from the disc but can be taken from the cache.

cache.load

A timer for the pages that have to be read from the disc. The smaller the number of pages is, the better.

cache.miss

Number of cache misses. The smaller this number is, the better. If you see that the number of hits is smaller than the misses, then it is probably a good idea to increase the page cache memory.

Entity pool metrics

You can monitor the number of reads and writes in the entity pool of each repository.

epool.read

A timer for the number of reads in the entity pool.

epool.write

A timer for the number of writes in the entity pool.