question

Jyothi avatar image
Jyothi asked Erick Ramirez answered

Where is EncodingStats used in Cassandra?

I couldnt find much documents related to Encodingstats in cassandra. Read that it is used for disk write optimization. Is this optimization happening in memtable level or sstable level? Kindly help

cassandra
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

The EncodingStats class (as the name suggests) is used for encoding the statistics (metadata) of rows and tombstones when serialising data.

The statistics are used for optimising the storage of rows on disk so it applies to SSTables.

In any case, none of these are really relevant to an app developer or DB admin so perhaps if you tell me what problem you are trying to solve, I'd be able to give a better response. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.