Collecting cache statistics

Enable the solr_cache_stats_options parameter in dse.yaml and set the other options as required.

The solr_cache_stats_options object records current and cumulative cache statistics.

The following diagnostic tables collect cache statistics:

All objects are disabled by default.

Procedure

  1. Edit the dse.yaml file.
    The location of the dse.yaml file depends on the type of installation:
    Installer-Services /etc/dse/dse.yaml
    Package installations /etc/dse/dse.yaml
    Installer-No Services install_location/resources/dse/conf/dse.yaml
    Tarball installations install_location/resources/dse/conf/dse.yaml
  2. In the dse.yaml file, under the solr_cache_stats_optionsparameter, change enabled to true and set the other options as required.
    # Solr cache statistics options
    solr_cache_stats_options:
        enabled: true
        ttl_seconds: 604800
        refresh_rate_ms: 60000

    All objects are disabled by default.

    Options
    Options Determines
    enabled Whether the object is enabled at start up.
    ttl_seconds How many seconds a record survives before it is expired from the performance object.
    refresh_rate_ms Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.