Hello lampahome,

Data will be compressed but you will also have to account for the replication 
factor that you will be using.


Thanks,

Dipan Shah

________________________________
From: lampahome <pahome.c...@mirlab.org>
Sent: Tuesday, December 31, 2019 8:06 AM
To: user@cassandra.apache.org <user@cassandra.apache.org>
Subject: How bottom of cassandra save data efficiently?

If I use var a as primary key and var b as second key, and a and b are 16 bytes 
and 8 bytes.

And other data are 32 bytes.

In one row, I have a+b+data = 16+8+32 = 56 bytes.

If I have 100,000 rows to store in cassandra, will it occupy space 56x100000 
bytes in my disk? Or data will be compressed?

thx

Reply via email to