Collecting index statistics
The solr_index_stats_options object records core-specific index overview statistics over time.
To collect index statistics:
-
To permanently collect index statistics:
-
Edit the
dse.yamlfile.The location of the
dse.yamlfile 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
-
-
Change
solr_index_stats_options.enabledtotrue, and then set the other options as required:# Solr index statistics options solr_index_stats_options: enabled: false ttl_seconds: 604800 refresh_rate_ms: 60000Options Determines enabledWhether the object is enabled at start up. Default:
falserefresh_rate_msPeriod (in milliseconds) between sample recordings for periodically updating statistics like the
solr_result_cache_stats.ttl_secondsHow many seconds a record survives before it is expired from the performance object.
-
Restart DSE to apply the changes.
-
-
To temporarily enable or disable collecting index statistics, use
dsetool perf solrindexstats. -
To verify index integrity, use
dsetool index_checks.