cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ran Tavory <ran...@gmail.com>
Subject Key cache capacity: 1 when using KeysCached="50%"
Date Mon, 24 May 2010 05:34:27 GMT
I've noticed that when defining KeysCached="50%" (or KeysCached="100%" and I
didn't test other values with %) then cfstats reports Key cache capacity: 1

This looks weird... is this expected? (version 0.6.1)

For example, in the default configuration:

      <ColumnFamily Name="Super2"
                    ColumnType="Super"
                    CompareWith="UTF8Type"
                    CompareSubcolumnsWith="UTF8Type"
                    RowsCached="10000"
                    KeysCached="50%"/>


----------------
Keyspace: Keyspace1
        Read Count: 0
        Read Latency: NaN ms.
        Write Count: 0
        Write Latency: NaN ms.
        Pending Tasks: 0
                Column Family: Super1
                SSTable count: 0
                Space used (live): 0
                Space used (total): 0
                Memtable Columns Count: 0
                Memtable Data Size: 0
                Memtable Switch Count: 0
                Read Count: 0
                Read Latency: NaN ms.
                Write Count: 0
                Write Latency: NaN ms.
                Pending Tasks: 0
                Key cache capacity: 200000
                Key cache size: 0
                Key cache hit rate: NaN
                Row cache: disabled
                Compacted row minimum size: 0
                Compacted row maximum size: 0
                Compacted row mean size: 0

                Column Family: Super2
                SSTable count: 0
                Space used (live): 0
                Space used (total): 0
                Memtable Columns Count: 0
                Memtable Data Size: 0
                Memtable Switch Count: 0
                Read Count: 0
                Read Latency: NaN ms.
                Write Count: 0
                Write Latency: NaN ms.
                Pending Tasks: 0
                Key cache capacity: 1
                Key cache size: 0
                Key cache hit rate: NaN
                Row cache capacity: 10000
                Row cache size: 0
                Row cache hit rate: NaN
                Compacted row minimum size: 0
                Compacted row maximum size: 0
                Compacted row mean size: 0

Mime
View raw message