cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipan Shah <dipan....@hotmail.com>
Subject Re: How bottom of cassandra save data efficiently?
Date Tue, 31 Dec 2019 09:34:19 GMT
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.chen@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

Mime
View raw message