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.


  1. Edit the dse.yaml file.

  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
        enabled: true
        ttl_seconds: 604800
        refresh_rate_ms: 60000

    All objects are disabled by default.

    Options Determines


    Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.


    Whether the object is enabled at start up.


    How many seconds a record survives before it is expired from the performance object.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,