I'm evaluating the insertion process on Apache Cassandra 2.0.14. I'm using a benchmark tool called YCSB that It's sending 1 record per second to a single Cassandra cluster with 1 node.
In each record I check the Memtable data size with Nodetool (command cfstats) and I realize that Memtable data size growing up proportionally until the 29th record. However, on the 30th record, the Memtable data size isn't proportional like the latest records. Check the results below:
N of Records: (1, 10, 25, 30)
Memtable Data size (bytes): (11810, 118100, 295250, 217614)
Proportionality in relation to 1st: (-, 10, 25, 18.43*)
*: should be 30
Why is this happening?
There isn't flush process until the 30th record.
Some properties in cassandra.yaml:
memtable_total_space_in_mb: 10
memtable_flush_writers: 1
memtable_flush_queue_size: 4