How Cassandra Reads the data?

Share us


To Satisfy read/write request, it must achieve consistency level (whatever we define, either CL = 1, 2 or Quorum. To know more, please check consistency level).

To complete the read request, Cassandra combine the request set of active MemTable and SSTables.

Cassandra fetch data from multiple stages to discover where the data is stored and which one is latest.

Cassandra fetch the data from below given stages : –

  1. Check the data from MemTable
  2. Check the row cache if enabled
  3. Check the Bloom Filter
  4. Check the Partition key cache if enabled
  5. It directly goes to Compression Offset if found in partition key cache, to check where the data partion is in SSTables, if not found in partition key cache then it will go to partition key index.
  6. If it checks in Partition Summary then it check Partition index.
  7. It check in Compression Offset to locate the data on the disk.
  8. Fetch the data from SSTable on the disk.



Thanks for going through the article, you can share your valuable feedback.


One Commentto How Cassandra Reads the data?

  1. You are my intake, I own few blogs and sometimes run out from post :). “Follow your inclinations with due regard to the policeman round the corner.” by W. Somerset Maugham.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.