The DS201 Read Path Quiz question "The key cache.." seems to expect correct answer as "stores the actual partitions". This seems to be a mistake in the quiz: I think the right answer is "stores partition byte offsets in the SSTable".
DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.
Check out the Academy FAQ pages for answers to your questions:
The DS201 Read Path Quiz question "The key cache.." seems to expect correct answer as "stores the actual partitions". This seems to be a mistake in the quiz: I think the right answer is "stores partition byte offsets in the SSTable".
The options for the key cache question in the Academy DS201 Cassandra Foundations course Read Path Quiz are:
SSTables are the files that store data on disk. The data component file (*-Data.db
) contains the actual partitions.
The partition summary (*-Summary.db
) stores a sampling of the partition index, that is samples of every N keys in the index.
The partition index (*-Index.db
) is an index mapping of all the partition keys against their respective byte offsets in the SSTable data files.
The partition key cache is an off-heap cache that stores the index of a partition after it has been read so requires "warming" to improve performance.
To respond to your query directly, I agree that the key cache does not store the actual partitions but it isn't the correct answer in the quiz. But what you think is the right answer is not the correct one either.
I hope you can work out the correct answer based on the definitions I provided above. If not, let me know and I can provide it in a follow-up comment so as not to spoil it for everyone else. :)
For details, see How data is read in Cassandra. Cheers!
Thanks, I got it by looking at the descriptions and docs more closely.
5 People are following this question.
Why is data not getting replicated to one of my nodes in the DS201 course VM?
Why can't I connect with cqlsh to one of the nodes in the DS201 VM for exercise 14?
Why can't I connect with cqlsh to node 3 in exercise 14 of the Academy DS201 course?
Why does read-repair always occur when consistency level is ALL?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use