What is the byte size of common Cassandra data types - To be used when calculating partition disk usage?
问题 I am trying to calculate the the partition size for each row in a table with arbitrary amount of columns and types using a formula from the Datastax Academy Data Modeling Course. In order to do that I need to know the "size in bytes" for some common Cassandra data types. I tried to google this but I get a lot of suggestions so I am puzzled. The data types I would like to know the byte size of are: A single Cassandra TEXT character (I googled answers from 2 - 4 bytes) A Cassandra DECIMAL A