【发布时间】:2014-07-21 01:36:39
【问题描述】:
我是 cassandra 的新手, 1)为什么单列族有3个sstable。 2)是不是表(列族)的每一列都存储在一个环的不同节点中?或完全存储在单个节点中的列族(如果我没有设置复制因子)。
示例: 表:message1
SSTable 计数:3
Space used (live), bytes: 221521
Space used (total), bytes: 226349
SSTable Compression Ratio: 0.2548965072049006
Number of keys (estimate): 384
Memtable cell count: 7817866
Memtable data size, bytes: 38797312
Memtable switch count: 51
Local read count: 0
Local read latency: 0.000 ms
Local write count: 26539152
Local write latency: 0.000 ms
Pending tasks: 0
Bloom filter false positives: 0
3)
commitlog_sync:定期 commitlog_sync_period_in_ms: 10000
提交日志同步为 10 秒。但是数据没有传输或刷新到磁盘? Memtable数据大小,字节:38797312
【问题讨论】: