I am storing composite column names which are made up of two integer
components. However I am shocked after seeing the storage overhead of these.
I just tried out a composite name (with single integer component):
Composite composite = new Composite();
composite.addComponent(-165376575,is);
System.out.println(CS.toByteBuffer( composite ).array().length); // the
result is 256
After writing & then reading back this composite column from cassandra:
System.out.println(CS.toByteBuffer( readColumn.getName() ).array().length);
// the result is 91
How much is the storage overhead, as I am quite sure that I'm making a
mistake in realizing the actual values ?