What happens when I insert empty column families in cassandra. How many memtables and sstables will be created ?
Asked
Active
Viewed 87 times
0
-
You mean, create table with no data? – Alex Ott Jan 11 '19 at 09:55
-
yes I am inserting empty records with only row key and no value. – Milindkumar Shinalkar Jan 11 '19 at 10:03
1 Answers
0
This depends on how many inserts you will perform, because you still need to keep the data for primary key in the memory, even if all other columns are empty... SSTables will be generated when your data fill memtable, or when you issue nodetool flush
command.
![](../../users/profiles/451575.webp)
Alex Ott
- 316
- 1
- 5