Reputation: 75
What I understood about Cassandra Memtable flush is whenever 33% of memtable heap+offheap space is consumed, cassandra flush writer starts flushing the largest memtable. In that case there could be situation where few smaller memtables where not much of writes are happening would lie on the memory. What would happen to those memtables? When are those memtables are going to be flushed.
Upvotes: 1
Views: 658
Reputation: 711
There are three ways AFAIK.
memtable_cleanup_threshold
as you described.memtable_flush_period_in_ms
per table prop which defines the periodic flush period.nodetool flush
and nodetool drain
. (drain
stops listening for new requests)Upvotes: 1