0
Opscenter 또는 cfstats를 체크인 할 때 캐싱이 활성화되어 있지 않습니다. 솔라ンド라는 데비안에서 카산드라 1.1.7을 실행 중입니다. 다음과 같이Cassandra에서 캐싱이 작동하지 않습니다.
key_cache_size_in_mb: 800
key_cache_save_period: 14400
row_cache_size_in_mb: 800
row_cache_save_period: 15400
row_cache_provider: SerializingCacheProvider
열 가족이 만들어진 :
create column family example
with column_type = 'Standard'
and comparator = 'BytesType'
and default_validation_class = 'BytesType'
and key_validation_class = 'BytesType'
and read_repair_chance = 1.0
and dclocal_read_repair_chance = 0.0
and gc_grace = 864000
and min_compaction_threshold = 4
and max_compaction_threshold = 32
and replicate_on_write = true
and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
and caching = 'ALL';
Opscenter는 관련된 모든 캐시를 표시하지 않습니다 캐시 그래프와 CFSTATS에 대한 자료를 보여줍니다 나는 cassandra.yaml에서 필요한 전역 옵션을 설정 한 입력란 :
Column Family: charsets
SSTable count: 1
Space used (live): 5558
Space used (total): 5558
Number of Keys (estimate): 128
Memtable Columns Count: 0
Memtable Data Size: 0
Memtable Switch Count: 0
Read Count: 61381
Read Latency: 0.123 ms.
Write Count: 0
Write Latency: NaN ms.
Pending Tasks: 0
Bloom Filter False Postives: 0
Bloom Filter False Ratio: 0.00000
Bloom Filter Space Used: 16
Compacted row minimum size: 1917
Compacted row maximum size: 2299
Compacted row mean size: 2299
모든 도움이나 제안을 부탁드립니다.
캐싱 통계 카산드라 1.1 정보로 cfstats에서 이동 된
예 알겠습니다. :) Richard에게 감사드립니다. – Sam