dse 6.0和6.7是否禁用了keycache?

drkbr07n  于 2021-06-10  发布在  Cassandra
关注(0)|答案(1)|浏览(507)

当我运行nodetool info时,我得到的是密钥缓存 Key Cache : entries 0, size 0 bytes, capacity 100 MiB, 0 hits, 0 requests, NaN recent hit rate, 14400 save period in seconds 我在cqlsh的表定义中启用了它 caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} 我在cassandra.yaml中没有看到密钥缓存的任何参数
不确定为什么没有使用keycache

pftdvrlh

pftdvrlh1#

dse6.0中引入的sstables的新格式使密钥缓存过时,因此如果所有sstables都已转换为新的文件格式,则不会使用它。密钥缓存本身是为了与以前的文件格式兼容而保留的,例如,如果您从dse 5.1迁移数据,并且还没有升级sstables,就可以使用它。

相关问题