Collecting cache statistics
The solr_cache_stats_options object records current and cumulative cache statistics.
The following diagnostic tables collect cache statistics:
-
Record core-specific query result cache statistics over time.
-
Record core-specific query result cache statistics over time.
All objects are disabled by default.
The location of the dse.yaml file depends on the type of installation:
-
Package installations and Installer-Services installations:
/etc/dse/dse.yaml -
Tarball installations and Installer-No Services installations:
<installation_location>/resources/dse/conf/dse.yaml
Procedure
-
Edit the
dse.yamlfile. -
In the
dse.yamlfile, under thesolr_cache_stats_optionsparameter, changeenabledtotrueand set the other options as required.# Solr cache statistics options solr_cache_stats_options: enabled: true ttl_seconds: 604800 refresh_rate_ms: 60000All objects are disabled by default.
Options Options Determines refresh_rate_msPeriod (in milliseconds) between sample recordings for periodically updating statistics like the
solr_result_cache_stats.enabled
Whether the object is enabled at start up.
ttl_secondsHow many seconds a record survives before it is expired from the performance object.