cassandra - DSE 6.0 和 6.7 是否禁用了 KeyCache?
问题描述
当我运行 nodetool info 时,我得到了 Key Cache
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
解决方案
The new format of the SSTables that was introduced in the DSE 6.0 made the key cache obsolete, so it won't be used if all your SSTables were already converted to new file format. The key cache itself is left for compatibility with previous file format, and used, for example, if you migrate data from DSE 5.1, and didn't upgrade your SSTables yet.
推荐阅读
- excel - 如何使用 2 张纸和多个条件使用 For Next 循环返回单元格值 - VBA
- .net - 针对自定义站点的在线购物插件的建议
- docker - l2 cni插件与l3插件有什么区别?
- wpf - 禁用时更改 RadioButton 文本的不透明度
- apache-kafka-streams - Kafka Streams DSL 谓词流分离
- api - Laravel 5.7:API 请求与否?
- python - 与使用 Anaconda Prompt 运行相比,从 Visual Studio 启动 Python 文件的工作方式不同
- kdb - 使用递归求解 q 中的 Euler 18
- mysql - SQL Query group by,有最小值,不选择最小值?
- machine-learning - 在矩阵分解中设置电影评分限制