what percentage is the default threshold of memory used for flushing of the largest memtables?
Answers
A default threshold of 33% of the total memtable space in Mb is used for flushing.
A memtable is created for every table or column family. There can be multiple memtables for a table but only one of them will be active. The rest will be waiting to be flushed.
33% percentage of total available memtable space is allocated for flushing. It will trigger the memtable cleanup.
A scheduled cleanup results in flushing of the table/column family that occupies the largest portion of memtable space. This keeps happening till your available memtable memory drops below the cleanup threshold.
A threshold of 33% memory space to flush the largest memtables.
Every table contains at least one memtable and if it contains more than one memtable then also only one is active and the other wait to be flushed.
33% of the total available space is assigned for flushing and it also triggers the memtable cleanup.
The cleanup which is scheduled flushes out the memtable occupying the largest space.