Collecting index statistics

Steps to enable collecting index statistics.

The solr_index_stats_options object records search index statistics over time.

dse.yaml

The location of the dse.yaml file depends on the type of installation:
Package installations /etc/dse/dse.yaml
Tarball installations installation_location/resources/dse/conf/dse.yaml

Procedure

To collect index statistics:
  • To permanently collect index statistics, edit the dse.yaml file and change the solr_index_stats_options to change enabled to true, set the other options as required, and restart DSE to recognize the changes.
    # Solr index statistics options
    solr_index_stats_options:
        enabled: false
        ttl_seconds: 604800
        refresh_rate_ms: 60000
    Table 1. solr_index_stats_options
    Options Determines
    enabled Whether the object is enabled at start up. Default: disabled.
    refresh_rate_ms Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.
    ttl_seconds How many seconds a record survives before it is expired from the performance object.
  • To temporarily enable or disable collecting index statistics, use dsetool perf solrindexstats.
  • To verify index integrity, use .