1.

How Cassandra Stores Data?

Answer»
  • All data stored as bytes
  • When you specify validator, CASSANDRA ensures those bytes are ENCODED as per requirement
  • Then a comparator orders the column based on the ordering specific to the encoding
  • While composite are just byte arrays with a specific encoding, for each component it STORES a two byte LENGTH followed by the byte encoded component followed by a TERMINATION bit.



Discussion

No Comment Found