Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14538

Add virtual table to view cache information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None

    Description

       Add a table for displaying the general cache information (like in nodetool info)

      cqlsh> SELECT * FROM system_views.caches;
      
       name    | entries | hit_ratio | hits | recent_hits_per_sec | recent_requests_per_sec | requests | size_max | size_used
      ---------+---------+-----------+------+---------------------+-------------------------+----------+----------+-----------
       counter |       0 |       NaN |    0 |                   0 |                       0 |        0 | 12582912 |         0
           key |      19 |  0.922509 |  250 |                  11 |                      13 |      271 | 25165824 |      1728
           row |       0 |       NaN |    0 |                   0 |                       0 |        0 | 16777216 |         0
      
      (3 rows)
      

      Attachments

        Issue Links

          Activity

            People

              cnlwsu Chris Lohfink
              cnlwsu Chris Lohfink
              Chris Lohfink
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m